discord-jadx/app/src/main/java/com/discord/stores/StoreGifPicker$observeGifsF...

27 lines
1.1 KiB
Java

package com.discord.stores;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
/* compiled from: StoreGifPicker.kt */
public final class StoreGifPicker$observeGifsForSearchQuery$1 extends o implements Function0<Unit> {
public final /* synthetic */ String $query;
public final /* synthetic */ StoreGifPicker this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreGifPicker$observeGifsForSearchQuery$1(StoreGifPicker storeGifPicker, String str) {
super(0);
this.this$0 = storeGifPicker;
this.$query = str;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
if (!StoreGifPicker.access$getGifSearchHistory$p(this.this$0).containsKey(this.$query)) {
StoreGifPicker.access$getGifSearchHistory$p(this.this$0).put(this.$query, StoreGifPicker.Companion.getSearchResultsLoadingList());
StoreGifPicker.access$fetchGifsForSearchQuery(this.this$0, this.$query);
}
}
}