discord-jadx/app/src/main/java/com/discord/stores/StoreAnalytics$init$3.java

32 lines
1.3 KiB
Java

package com.discord.stores;
import com.discord.stores.StoreAnalytics;
import com.discord.widgets.home.WidgetHome;
import d0.z.d.m;
import j0.k.b;
import j0.l.e.j;
import java.util.concurrent.TimeUnit;
import rx.Observable;
/* compiled from: StoreAnalytics.kt */
public final class StoreAnalytics$init$3<T, R> implements b<StoreAnalytics.ScreenViewed, Observable<? extends StoreAnalytics.ScreenViewed>> {
public static final StoreAnalytics$init$3 INSTANCE = new StoreAnalytics$init$3();
/* compiled from: StoreAnalytics.kt */
/* renamed from: com.discord.stores.StoreAnalytics$init$3$1 reason: invalid class name */
public static final class AnonymousClass1<T, R> implements b<Long, StoreAnalytics.ScreenViewed> {
public final /* synthetic */ StoreAnalytics.ScreenViewed $screenViewed;
public AnonymousClass1(StoreAnalytics.ScreenViewed screenViewed) {
this.$screenViewed = screenViewed;
}
public final StoreAnalytics.ScreenViewed call(Long l) {
return this.$screenViewed;
}
}
public final Observable<? extends StoreAnalytics.ScreenViewed> call(StoreAnalytics.ScreenViewed screenViewed) {
return m.areEqual(screenViewed.getScreen(), WidgetHome.class) ? Observable.d0(2, TimeUnit.SECONDS).F(new AnonymousClass1(screenViewed)) : new j(screenViewed);
}
}