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

35 lines
1.3 KiB
Java

package com.discord.stores;
import com.discord.stores.StoreSearch;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: StoreSearch.kt */
public final class StoreSearch$init$5 extends o implements Function1<StoreSearch.DisplayState, Unit> {
public final /* synthetic */ StoreSearch this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreSearch$init$5(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(StoreSearch.DisplayState displayState) {
invoke(displayState);
return Unit.a;
}
public final void invoke(StoreSearch.DisplayState displayState) {
if (displayState != StoreSearch.DisplayState.RESULTS) {
this.this$0.getStoreSearchQuery().clear();
}
StoreSearch storeSearch = this.this$0;
m.checkNotNullExpressionValue(displayState, "it");
StoreSearch.access$onStateChanged(storeSearch, displayState);
}
}