89 lines
3.5 KiB
Smali
89 lines
3.5 KiB
Smali
.class public final Lcom/discord/widgets/voice/fullscreen/WidgetSpectators$configureUI$2$1;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetSpectators.kt"
|
|
|
|
# interfaces
|
|
.implements Lrx/functions/Action0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/voice/fullscreen/WidgetSpectators$configureUI$2;->invoke(Lcom/discord/utilities/streams/StreamContext;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/voice/fullscreen/WidgetSpectators$configureUI$2;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/voice/fullscreen/WidgetSpectators$configureUI$2;Lcom/discord/utilities/streams/StreamContext;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetSpectators$configureUI$2$1;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetSpectators$configureUI$2;
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/voice/fullscreen/WidgetSpectators$configureUI$2$1;->$streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final call()V
|
|
.locals 3
|
|
|
|
sget-object v0, Lcom/discord/stores/StoreStream;->Companion:Lcom/discord/stores/StoreStream$Companion;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreStream$Companion;->getVoiceChannelSelected()Lcom/discord/stores/StoreVoiceChannelSelected;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetSpectators$configureUI$2$1;->$streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
invoke-virtual {v1}, Lcom/discord/utilities/streams/StreamContext;->getStream()Lcom/discord/models/domain/ModelApplicationStream;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Lcom/discord/models/domain/ModelApplicationStream;->getChannelId()J
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-virtual {v0, v1, v2}, Lcom/discord/stores/StoreVoiceChannelSelected;->set(J)V
|
|
|
|
sget-object v0, Lcom/discord/widgets/spectate/WidgetSpectate;->Companion:Lcom/discord/widgets/spectate/WidgetSpectate$Companion;
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/voice/fullscreen/WidgetSpectators$configureUI$2$1;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetSpectators$configureUI$2;
|
|
|
|
iget-object v1, v1, Lcom/discord/widgets/voice/fullscreen/WidgetSpectators$configureUI$2;->this$0:Lcom/discord/widgets/voice/fullscreen/WidgetSpectators;
|
|
|
|
invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "requireContext()"
|
|
|
|
invoke-static {v1, v2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v2, p0, Lcom/discord/widgets/voice/fullscreen/WidgetSpectators$configureUI$2$1;->$streamContext:Lcom/discord/utilities/streams/StreamContext;
|
|
|
|
invoke-virtual {v2}, Lcom/discord/utilities/streams/StreamContext;->getStream()Lcom/discord/models/domain/ModelApplicationStream;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2}, Lcom/discord/models/domain/ModelApplicationStream;->encodeStreamKey()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v0, v1, v2}, Lcom/discord/widgets/spectate/WidgetSpectate$Companion;->launch(Landroid/content/Context;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|