2020-07-23 01:06:17 +00:00
|
|
|
.class public final Lq;
|
2020-05-17 12:40:10 +00:00
|
|
|
.super Ljava/lang/Object;
|
2020-09-18 17:51:47 +00:00
|
|
|
.source "WidgetGuildCallOnboardingSheet.kt"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
# interfaces
|
2020-09-18 17:51:47 +00:00
|
|
|
.implements Lrx/functions/Action0;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-09-18 17:51:47 +00:00
|
|
|
.field public final synthetic d:Lr;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2020-09-18 17:51:47 +00:00
|
|
|
.method public constructor <init>(Lr;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 0
|
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
iput-object p1, p0, Lq;->d:Lr;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-09-18 17:51:47 +00:00
|
|
|
.method public final call()V
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
sget-object v0, Lp;->g:Lp$a;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lq;->d:Lr;
|
|
|
|
|
|
|
|
iget-object v1, v1, Lr;->this$0:Lp;
|
|
|
|
|
|
|
|
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/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
const-string v0, "context"
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
invoke-static {v1, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
invoke-static {v1}, Landroidx/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
move-result-object v0
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
2020-07-08 16:44:49 +00:00
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
move-result-object v0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
const/4 v1, 0x1
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
const-string v3, "CACHE_KEY_VOICE_CHANNEL_ONBOARDED"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
invoke-interface {v0, v3, v1}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->apply()V
|
|
|
|
|
|
|
|
iget-object v0, p0, Lq;->d:Lr;
|
|
|
|
|
|
|
|
iget-object v0, v0, Lr;->this$0:Lp;
|
|
|
|
|
|
|
|
iget-object v0, v0, Lp;->e:Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallOnboardingSheetViewModel;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/widgets/voice/fullscreen/WidgetGuildCallOnboardingSheetViewModel;->onConnectPressed()V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
2020-09-18 17:51:47 +00:00
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const-string/jumbo v0, "viewModel"
|
|
|
|
|
|
|
|
invoke-static {v0}, Lc0/n/c/i;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v2
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
throw v2
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|