90 lines
2.2 KiB
Smali
90 lines
2.2 KiB
Smali
.class public final Lp;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetGuildCallOnboardingSheet.kt"
|
|
|
|
# interfaces
|
|
.implements Lrx/functions/Action0;
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic d:Lq;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lq;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lp;->d:Lq;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final call()V
|
|
.locals 4
|
|
|
|
sget-object v0, Lo;->g:Lo$a;
|
|
|
|
iget-object v1, p0, Lp;->d:Lq;
|
|
|
|
iget-object v1, v1, Lq;->this$0:Lo;
|
|
|
|
invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "requireContext()"
|
|
|
|
invoke-static {v1, v2}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const-string v0, "context"
|
|
|
|
invoke-static {v1, v0}, Lc0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Landroidx/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const-string v3, "CACHE_KEY_VOICE_CHANNEL_ONBOARDED"
|
|
|
|
invoke-interface {v0, v3, v1}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->apply()V
|
|
|
|
iget-object v0, p0, Lp;->d:Lq;
|
|
|
|
iget-object v0, v0, Lq;->this$0:Lo;
|
|
|
|
iget-object v0, v0, Lo;->e:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallOnboardingSheetViewModel;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallOnboardingSheetViewModel;->onConnectPressed()V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string/jumbo v0, "viewModel"
|
|
|
|
invoke-static {v0}, Lc0/n/c/j;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
throw v2
|
|
|
|
:cond_1
|
|
throw v2
|
|
.end method
|