discord-jadx/app/src/main/java/com/discord/stores/ArchivedThreadsStore$loadAn...

28 lines
1.5 KiB
Java

package com.discord.stores;
import com.discord.stores.ArchivedThreadsStore;
import d0.z.d.o;
import kotlin.Pair;
import kotlin.jvm.functions.Function0;
/* compiled from: ArchivedThreadsStore.kt */
public final class ArchivedThreadsStore$loadAndObserveThreadListing$1 extends o implements Function0<ArchivedThreadsStore.ThreadListingState> {
public final /* synthetic */ long $channelId;
public final /* synthetic */ ArchivedThreadsStore.ThreadListingType $threadListingType;
public final /* synthetic */ ArchivedThreadsStore this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public ArchivedThreadsStore$loadAndObserveThreadListing$1(ArchivedThreadsStore archivedThreadsStore, long j, ArchivedThreadsStore.ThreadListingType threadListingType) {
super(0);
this.this$0 = archivedThreadsStore;
this.$channelId = j;
this.$threadListingType = threadListingType;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final ArchivedThreadsStore.ThreadListingState mo1invoke() {
ArchivedThreadsStore.ThreadListingState threadListingState = (ArchivedThreadsStore.ThreadListingState) ArchivedThreadsStore.access$getListingsSnapshot$p(this.this$0).get(new Pair(Long.valueOf(this.$channelId), this.$threadListingType));
return threadListingState != null ? threadListingState : ArchivedThreadsStore.ThreadListingState.Uninitialized.INSTANCE;
}
}