discord-jadx/app/src/main/java/com/discord/stores/StoreUserTyping$handleTypin...

54 lines
2.3 KiB
Java

package com.discord.stores;
import com.discord.api.user.TypingUser;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
/* compiled from: StoreUserTyping.kt */
public final class StoreUserTyping$handleTypingStart$1 extends o implements Function1<TypingUser, Unit> {
public final /* synthetic */ StoreUserTyping this$0;
/* compiled from: StoreUserTyping.kt */
/* renamed from: com.discord.stores.StoreUserTyping$handleTypingStart$1$1 reason: invalid class name */
public static final class AnonymousClass1 extends o implements Function0<Unit> {
public final /* synthetic */ TypingUser $prevTyping;
public final /* synthetic */ StoreUserTyping$handleTypingStart$1 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public AnonymousClass1(StoreUserTyping$handleTypingStart$1 storeUserTyping$handleTypingStart$1, TypingUser typingUser) {
super(0);
this.this$0 = storeUserTyping$handleTypingStart$1;
this.$prevTyping = typingUser;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
StoreUserTyping storeUserTyping = this.this$0.this$0;
TypingUser typingUser = this.$prevTyping;
m.checkNotNullExpressionValue(typingUser, "prevTyping");
StoreUserTyping.access$handleTypingStop(storeUserTyping, typingUser);
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreUserTyping$handleTypingStart$1(StoreUserTyping storeUserTyping) {
super(1);
this.this$0 = storeUserTyping;
}
/* 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(TypingUser typingUser) {
invoke(typingUser);
return Unit.a;
}
public final void invoke(TypingUser typingUser) {
StoreUserTyping.access$getDispatcher$p(this.this$0).schedule(new AnonymousClass1(this, typingUser));
}
}