discord-jadx/app/src/main/java/com/discord/stores/StoreChannelsSelected$obser...

43 lines
2.1 KiB
Java

package com.discord.stores;
import com.discord.stores.updates.ObservationDeck;
import d0.z.d.m;
import d0.z.d.o;
import j0.k.b;
import j0.l.e.j;
import kotlin.jvm.functions.Function0;
import rx.Observable;
/* compiled from: StoreChannelsSelected.kt */
public final class StoreChannelsSelected$observeInitializedForAuthedUser$1<T, R> implements b<Boolean, Observable<? extends Boolean>> {
public final /* synthetic */ StoreChannelsSelected this$0;
/* compiled from: StoreChannelsSelected.kt */
/* renamed from: com.discord.stores.StoreChannelsSelected$observeInitializedForAuthedUser$1$1 reason: invalid class name */
public static final class AnonymousClass1 extends o implements Function0<Boolean> {
public final /* synthetic */ StoreChannelsSelected$observeInitializedForAuthedUser$1 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public AnonymousClass1(StoreChannelsSelected$observeInitializedForAuthedUser$1 storeChannelsSelected$observeInitializedForAuthedUser$1) {
super(0);
this.this$0 = storeChannelsSelected$observeInitializedForAuthedUser$1;
}
/* Return type fixed from 'boolean' to match base method */
/* JADX WARNING: Unknown variable types count: 1 */
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final Boolean mo1invoke() {
return StoreChannelsSelected.access$getInitializedForAuthedUser$p(this.this$0.this$0);
}
}
public StoreChannelsSelected$observeInitializedForAuthedUser$1(StoreChannelsSelected storeChannelsSelected) {
this.this$0 = storeChannelsSelected;
}
public final Observable<? extends Boolean> call(Boolean bool) {
m.checkNotNullExpressionValue(bool, "isStoreChannelsInitialized");
return bool.booleanValue() ? ObservationDeck.connectRx$default(StoreChannelsSelected.access$getObservationDeck$p(this.this$0), new ObservationDeck.UpdateSource[]{StoreChannelsSelected.access$getInitializedUpdateSource$cp()}, false, null, null, new AnonymousClass1(this), 14, null) : new j(Boolean.FALSE);
}
}