2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/widgets/tabs/WidgetTabsHost$configureSystemStatusBar$1;
|
2020-09-18 17:51:47 +00:00
|
|
|
.super Lc0/n/c/j;
|
2020-05-17 12:40:10 +00:00
|
|
|
.source "WidgetTabsHost.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/widgets/tabs/WidgetTabsHost;->configureSystemStatusBar()V
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-09-18 17:51:47 +00:00
|
|
|
"Lc0/n/c/j;",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
2020-09-16 23:45:23 +00:00
|
|
|
"Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorState$State;",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic $defaultStatusBarColor:I
|
|
|
|
|
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/tabs/WidgetTabsHost;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lcom/discord/widgets/tabs/WidgetTabsHost;I)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/tabs/WidgetTabsHost$configureSystemStatusBar$1;->this$0:Lcom/discord/widgets/tabs/WidgetTabsHost;
|
|
|
|
|
|
|
|
iput p2, p0, Lcom/discord/widgets/tabs/WidgetTabsHost$configureSystemStatusBar$1;->$defaultStatusBarColor:I
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
invoke-direct {p0, p1}, Lc0/n/c/j;-><init>(I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
check-cast p1, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorState$State;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/tabs/WidgetTabsHost$configureSystemStatusBar$1;->invoke(Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorState$State;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
.method public final invoke(Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorState$State;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 4
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const-string v0, "state"
|
|
|
|
|
2020-09-18 17:51:47 +00:00
|
|
|
invoke-static {p1, v0}, Lc0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-09-16 23:45:23 +00:00
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
iget-object v0, p0, Lcom/discord/widgets/tabs/WidgetTabsHost$configureSystemStatusBar$1;->this$0:Lcom/discord/widgets/tabs/WidgetTabsHost;
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorState$State;->isVisible()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lcom/discord/widgets/tabs/WidgetTabsHost;->access$setPanelWindowInsetsListeners(Lcom/discord/widgets/tabs/WidgetTabsHost;Z)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/tabs/WidgetTabsHost$configureSystemStatusBar$1;->this$0:Lcom/discord/widgets/tabs/WidgetTabsHost;
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
const v1, 0x7f060275
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lcom/discord/utilities/color/ColorCompat;->getColor(Landroidx/fragment/app/Fragment;I)I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2020-09-16 23:45:23 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/widgets/status/WidgetGlobalStatusIndicatorState$State;->isVisible()Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget v0, p0, Lcom/discord/widgets/tabs/WidgetTabsHost$configureSystemStatusBar$1;->$defaultStatusBarColor:I
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/tabs/WidgetTabsHost$configureSystemStatusBar$1;->this$0:Lcom/discord/widgets/tabs/WidgetTabsHost;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x4
|
|
|
|
|
|
|
|
const/4 v3, 0x0
|
|
|
|
|
|
|
|
invoke-static {p1, v0, v1, v2, v3}, Lcom/discord/utilities/color/ColorCompat;->setStatusBarColor$default(Landroidx/fragment/app/Fragment;IZILjava/lang/Object;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|