90 lines
2.2 KiB
Smali
90 lines
2.2 KiB
Smali
.class public final Ly;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetGuildCallOnboardingSheet.kt"
|
|
|
|
# interfaces
|
|
.implements Lrx/functions/Action0;
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic d:Lz;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lz;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Ly;->d:Lz;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final call()V
|
|
.locals 4
|
|
|
|
sget-object v0, Lx;->g:Lx$a;
|
|
|
|
iget-object v1, p0, Ly;->d:Lz;
|
|
|
|
iget-object v1, v1, Lz;->this$0:Lx;
|
|
|
|
invoke-virtual {v1}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "requireContext()"
|
|
|
|
invoke-static {v1, v2}, Lk0/n/c/i;->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}, Lk0/n/c/i;->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, Ly;->d:Lz;
|
|
|
|
iget-object v0, v0, Lz;->this$0:Lx;
|
|
|
|
iget-object v0, v0, Lx;->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}, Lk0/n/c/i;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
throw v2
|
|
|
|
:cond_1
|
|
throw v2
|
|
.end method
|