apkfuckery/com.discord/smali/f/a/n/o.smali

107 lines
3.1 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Lf/a/n/o;
2020-05-17 12:40:10 +00:00
.super Ljava/lang/Object;
.source "OverlayMenuView.kt"
# interfaces
.implements Landroid/view/View$OnClickListener;
# instance fields
.field public final synthetic d:Lcom/discord/views/OverlayMenuView;
# direct methods
.method public constructor <init>(Lcom/discord/views/OverlayMenuView;)V
.locals 0
2020-07-08 16:44:49 +00:00
iput-object p1, p0, Lf/a/n/o;->d:Lcom/discord/views/OverlayMenuView;
2020-05-17 12:40:10 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onClick(Landroid/view/View;)V
.locals 12
sget-object p1, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
invoke-virtual {p1}, Lcom/discord/stores/StoreStream$Companion;->getVoiceChannelSelected()Lcom/discord/stores/StoreVoiceChannelSelected;
move-result-object p1
invoke-virtual {p1}, Lcom/discord/stores/StoreVoiceChannelSelected;->getId()Lrx/Observable;
move-result-object p1
2020-07-08 16:44:49 +00:00
sget-object v0, Lf/a/n/o$a;->d:Lf/a/n/o$a;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
invoke-virtual {p1, v0}, Lrx/Observable;->w(Ls0/k/b;)Lrx/Observable;
2020-05-17 12:40:10 +00:00
move-result-object v1
const-string p1, "StoreStream\n .g\u2026 .filter { it > 0 }"
2020-09-09 19:21:20 +00:00
invoke-static {v1, p1}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
const-wide/16 v2, 0x3e8
const/4 v4, 0x0
const/4 v5, 0x2
const/4 v6, 0x0
invoke-static/range {v1 .. v6}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->takeSingleUntilTimeout$default(Lrx/Observable;JZILjava/lang/Object;)Lrx/Observable;
move-result-object p1
2020-07-08 16:44:49 +00:00
sget-object v0, Lf/a/n/o$b;->d:Lf/a/n/o$b;
2020-05-17 12:40:10 +00:00
2020-09-02 04:07:20 +00:00
invoke-virtual {p1, v0}, Lrx/Observable;->U(Ls0/k/b;)Lrx/Observable;
2020-05-17 12:40:10 +00:00
move-result-object p1
const-string v0, "StoreStream\n .g\u2026te(channelId)\n }"
2020-09-09 19:21:20 +00:00
invoke-static {p1, v0}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
iget-object v0, p0, Lf/a/n/o;->d:Lcom/discord/views/OverlayMenuView;
2020-05-17 12:40:10 +00:00
const/4 v1, 0x0
const/4 v2, 0x2
invoke-static {p1, v0, v1, v2, v1}, 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
2020-07-08 16:44:49 +00:00
iget-object p1, p0, Lf/a/n/o;->d:Lcom/discord/views/OverlayMenuView;
2020-05-17 12:40:10 +00:00
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v4
2020-07-08 16:44:49 +00:00
new-instance v7, Lf/a/n/o$c;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {v7, p0}, Lf/a/n/o$c;-><init>(Lf/a/n/o;)V
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
new-instance v9, Lf/a/n/o$d;
2020-05-17 12:40:10 +00:00
2020-07-08 16:44:49 +00:00
invoke-direct {v9, p0}, Lf/a/n/o$d;-><init>(Lf/a/n/o;)V
2020-05-17 12:40:10 +00:00
const/4 v5, 0x0
const/4 v8, 0x0
const/16 v10, 0x16
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
return-void
.end method