discord-jadx/app/src/main/java/com/discord/stores/StoreReadStates$clearMarker...

33 lines
1.3 KiB
Java

package com.discord.stores;
import com.discord.models.application.Unread;
import com.discord.utilities.persister.Persister;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: StoreReadStates.kt */
public final class StoreReadStates$clearMarker$2 extends o implements Function1<Unread, Unit> {
public final /* synthetic */ StoreReadStates this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreReadStates$clearMarker$2(StoreReadStates storeReadStates) {
super(1);
this.this$0 = storeReadStates;
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public /* bridge */ /* synthetic */ Unit invoke(Unread unread) {
invoke(unread);
return Unit.a;
}
public final void invoke(Unread unread) {
Persister access$getUnreadMessageMarker$p = StoreReadStates.access$getUnreadMessageMarker$p(this.this$0);
m.checkNotNullExpressionValue(unread, "newValue");
Persister.set$default(access$getUnreadMessageMarker$p, unread, false, 2, null);
}
}