159 lines
4.8 KiB
Smali
159 lines
4.8 KiB
Smali
.class public final Lcom/discord/widgets/home/WidgetHome$configureFirstOpen$2;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetHome.kt"
|
|
|
|
# interfaces
|
|
.implements Lrx/functions/Action1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/home/WidgetHome;->configureFirstOpen()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lrx/functions/Action1<",
|
|
"Ljava/lang/Boolean;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Lcom/discord/widgets/home/WidgetHome;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/home/WidgetHome;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/home/WidgetHome$configureFirstOpen$2;->this$0:Lcom/discord/widgets/home/WidgetHome;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final call(Ljava/lang/Boolean;)V
|
|
.locals 12
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getNux()Lcom/discord/stores/StoreNux;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v0, Lcom/discord/widgets/home/WidgetHome$configureFirstOpen$2$1;->INSTANCE:Lcom/discord/widgets/home/WidgetHome$configureFirstOpen$2$1;
|
|
|
|
invoke-virtual {p1, v0}, Lcom/discord/stores/StoreNux;->updateNux(Lkotlin/jvm/functions/Function1;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
new-instance p1, Lcom/discord/widgets/home/WidgetHome$configureFirstOpen$2$2;
|
|
|
|
invoke-direct {p1, p0}, Lcom/discord/widgets/home/WidgetHome$configureFirstOpen$2$2;-><init>(Lcom/discord/widgets/home/WidgetHome$configureFirstOpen$2;)V
|
|
|
|
new-instance v0, Lh0/l/e/j;
|
|
|
|
invoke-direct {v0, p1}, Lh0/l/e/j;-><init>(Ljava/lang/Object;)V
|
|
|
|
const-wide/16 v1, 0x3e8
|
|
|
|
sget-object p1, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
invoke-virtual {v0, v1, v2, p1}, Lrx/Observable;->p(JLjava/util/concurrent/TimeUnit;)Lrx/Observable;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object v0, Lcom/discord/widgets/home/WidgetHome$configureFirstOpen$2$3;->INSTANCE:Lcom/discord/widgets/home/WidgetHome$configureFirstOpen$2$3;
|
|
|
|
new-instance v1, Lh0/l/e/j;
|
|
|
|
invoke-direct {v1, v0}, Lh0/l/e/j;-><init>(Ljava/lang/Object;)V
|
|
|
|
const-wide/16 v2, 0x7d0
|
|
|
|
sget-object v0, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
invoke-virtual {v1, v2, v3, v0}, Lrx/Observable;->p(JLjava/util/concurrent/TimeUnit;)Lrx/Observable;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {p1, v0}, Lrx/Observable;->F(Lrx/Observable;Lrx/Observable;)Lrx/Observable;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "Observable\n \u2026, TimeUnit.MILLISECONDS))"
|
|
|
|
invoke-static {p1, v0}, Ly/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/home/WidgetHome$configureFirstOpen$2;->this$0:Lcom/discord/widgets/home/WidgetHome;
|
|
|
|
const/4 v1, 0x2
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-static {p1, v0, v2, v1, v2}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable;
|
|
|
|
move-result-object v3
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/home/WidgetHome$configureFirstOpen$2;->this$0:Lcom/discord/widgets/home/WidgetHome;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v4
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/4 v8, 0x0
|
|
|
|
sget-object v9, Lcom/discord/widgets/home/WidgetHome$configureFirstOpen$2$4;->INSTANCE:Lcom/discord/widgets/home/WidgetHome$configureFirstOpen$2$4;
|
|
|
|
const/16 v10, 0x1e
|
|
|
|
const/4 v11, 0x0
|
|
|
|
invoke-static/range {v3 .. v11}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic call(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
check-cast p1, Ljava/lang/Boolean;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/home/WidgetHome$configureFirstOpen$2;->call(Ljava/lang/Boolean;)V
|
|
|
|
return-void
|
|
.end method
|