discord-jadx/app/src/main/java/com/discord/stores/StoreStageChannelSelfPresen...

31 lines
1.4 KiB
Java

package com.discord.stores;
import com.discord.utilities.rx.ObservableExtensionsKt;
import j0.k.b;
import java.util.concurrent.TimeUnit;
import kotlin.Unit;
import rx.Observable;
import rx.functions.Func2;
/* compiled from: StoreStageChannelSelfPresence.kt */
public final class StoreStageChannelSelfPresence$init$2<T, R> implements b<Integer, Observable<? extends Boolean>> {
public final /* synthetic */ StoreStageChannelSelfPresence this$0;
/* compiled from: StoreStageChannelSelfPresence.kt */
/* renamed from: com.discord.stores.StoreStageChannelSelfPresence$init$2$1 reason: invalid class name */
public static final class AnonymousClass1<T1, T2, R> implements Func2<Unit, Boolean, Boolean> {
public static final AnonymousClass1 INSTANCE = new AnonymousClass1();
public final Boolean call(Unit unit, Boolean bool) {
return bool;
}
}
public StoreStageChannelSelfPresence$init$2(StoreStageChannelSelfPresence storeStageChannelSelfPresence) {
this.this$0 = storeStageChannelSelfPresence;
}
public final Observable<? extends Boolean> call(Integer num) {
return Observable.j(ObservableExtensionsKt.leadingEdgeThrottle(this.this$0.getPublishStateTrigger(), (long) num.intValue(), TimeUnit.SECONDS), this.this$0.getUserSettings().observeIsShowCurrentGameEnabled(), AnonymousClass1.INSTANCE);
}
}