116 lines
3.7 KiB
Smali
116 lines
3.7 KiB
Smali
.class public final Lcom/discord/widgets/guilds/list/WidgetGuildsList$configureBottomNavSpace$1;
|
|
.super Ly/v/b/k;
|
|
.source "WidgetGuildsList.kt"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/guilds/list/WidgetGuildsList;->configureBottomNavSpace()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ly/v/b/k;",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"Ljava/lang/Integer;",
|
|
"Lkotlin/Unit;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Lcom/discord/widgets/guilds/list/WidgetGuildsList;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/guilds/list/WidgetGuildsList;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/guilds/list/WidgetGuildsList$configureBottomNavSpace$1;->this$0:Lcom/discord/widgets/guilds/list/WidgetGuildsList;
|
|
|
|
const/4 p1, 0x1
|
|
|
|
invoke-direct {p0, p1}, Ly/v/b/k;-><init>(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
check-cast p1, Ljava/lang/Number;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Number;->intValue()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/guilds/list/WidgetGuildsList$configureBottomNavSpace$1;->invoke(I)V
|
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final invoke(I)V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/list/WidgetGuildsList$configureBottomNavSpace$1;->this$0:Lcom/discord/widgets/guilds/list/WidgetGuildsList;
|
|
|
|
invoke-static {v0}, Lcom/discord/widgets/guilds/list/WidgetGuildsList;->access$getAdapter$p(Lcom/discord/widgets/guilds/list/WidgetGuildsList;)Lcom/discord/widgets/guilds/list/WidgetGuildListAdapter;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p1}, Lcom/discord/widgets/guilds/list/WidgetGuildListAdapter;->handleBottomNavHeight(I)V
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/guilds/list/WidgetGuildsList$configureBottomNavSpace$1;->this$0:Lcom/discord/widgets/guilds/list/WidgetGuildsList;
|
|
|
|
invoke-static {v0}, Lcom/discord/widgets/guilds/list/WidgetGuildsList;->access$getUnreadsStub$p(Lcom/discord/widgets/guilds/list/WidgetGuildsList;)Landroid/view/ViewStub;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Landroid/view/ViewStub;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
check-cast v0, Landroid/view/ViewGroup$MarginLayoutParams;
|
|
|
|
iget v1, v0, Landroid/view/ViewGroup$MarginLayoutParams;->leftMargin:I
|
|
|
|
iget v2, v0, Landroid/view/ViewGroup$MarginLayoutParams;->topMargin:I
|
|
|
|
iget v3, v0, Landroid/view/ViewGroup$MarginLayoutParams;->rightMargin:I
|
|
|
|
invoke-virtual {v0, v1, v2, v3, p1}, Landroid/view/ViewGroup$MarginLayoutParams;->setMargins(IIII)V
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/guilds/list/WidgetGuildsList$configureBottomNavSpace$1;->this$0:Lcom/discord/widgets/guilds/list/WidgetGuildsList;
|
|
|
|
invoke-static {p1}, Lcom/discord/widgets/guilds/list/WidgetGuildsList;->access$getUnreadsStub$p(Lcom/discord/widgets/guilds/list/WidgetGuildsList;)Landroid/view/ViewStub;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/ViewStub;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
new-instance p1, Ly/l;
|
|
|
|
const-string v0, "null cannot be cast to non-null type android.view.ViewGroup.MarginLayoutParams"
|
|
|
|
invoke-direct {p1, v0}, Ly/l;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|