59 lines
2.7 KiB
Smali
59 lines
2.7 KiB
Smali
.class public final Lcom/discord/widgets/user/usersheet/WidgetUserSheet$handleRequestPermissionsForSpectateStream$1;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetUserSheet.kt"
|
|
|
|
# interfaces
|
|
.implements Lrx/functions/Action0;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->handleRequestPermissionsForSpectateStream(Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$RequestPermissionsForSpectateStream;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $event:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$RequestPermissionsForSpectateStream;
|
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$RequestPermissionsForSpectateStream;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$handleRequestPermissionsForSpectateStream$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
|
|
|
|
iput-object p2, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$handleRequestPermissionsForSpectateStream$1;->$event:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$RequestPermissionsForSpectateStream;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final call()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$handleRequestPermissionsForSpectateStream$1;->this$0:Lcom/discord/widgets/user/usersheet/WidgetUserSheet;
|
|
|
|
invoke-static {v0}, Lcom/discord/widgets/user/usersheet/WidgetUserSheet;->access$getViewModel$p(Lcom/discord/widgets/user/usersheet/WidgetUserSheet;)Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/user/usersheet/WidgetUserSheet$handleRequestPermissionsForSpectateStream$1;->$event:Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$RequestPermissionsForSpectateStream;
|
|
|
|
invoke-virtual {v1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel$Event$RequestPermissionsForSpectateStream;->getStream()Lcom/discord/models/domain/ModelApplicationStream;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lcom/discord/widgets/user/usersheet/WidgetUserSheetViewModel;->onSpectatePermissionsGranted(Lcom/discord/models/domain/ModelApplicationStream;)V
|
|
|
|
return-void
|
|
.end method
|