discord-jadx/app/src/main/java/com/discord/stores/StoreSearch$init$6.java

52 lines
2.1 KiB
Java

package com.discord.stores;
import com.discord.utilities.search.network.state.SearchState;
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: StoreSearch.kt */
public final class StoreSearch$init$6 extends o implements Function1<SearchState, Unit> {
public final /* synthetic */ StoreSearch this$0;
/* compiled from: StoreSearch.kt */
/* renamed from: com.discord.stores.StoreSearch$init$6$1 reason: invalid class name */
public static final class AnonymousClass1 extends o implements Function0<Unit> {
public final /* synthetic */ SearchState $searchState;
public final /* synthetic */ StoreSearch$init$6 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public AnonymousClass1(StoreSearch$init$6 storeSearch$init$6, SearchState searchState) {
super(0);
this.this$0 = storeSearch$init$6;
this.$searchState = searchState;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
StoreSearch.access$getStream$p(this.this$0.this$0).handleSearchFinish(this.$searchState);
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreSearch$init$6(StoreSearch storeSearch) {
super(1);
this.this$0 = storeSearch;
}
/* 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(SearchState searchState) {
invoke(searchState);
return Unit.a;
}
public final void invoke(SearchState searchState) {
m.checkNotNullParameter(searchState, "searchState");
StoreSearch.access$getDispatcher$p(this.this$0).schedule(new AnonymousClass1(this, searchState));
}
}