apkfuckery/com.discord/smali/e/a/j/q.smali
2020-03-26 06:26:27 +01:00

82 lines
1.7 KiB
Smali

.class public final Le/a/j/q;
.super Ly/u/b/k;
.source "OverlayMenuView.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ly/u/b/k;",
"Lkotlin/jvm/functions/Function1<",
"Ljava/lang/Boolean;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
.field public final synthetic this$0:Lcom/discord/views/OverlayMenuView;
# direct methods
.method public constructor <init>(Lcom/discord/views/OverlayMenuView;)V
.locals 0
iput-object p1, p0, Le/a/j/q;->this$0:Lcom/discord/views/OverlayMenuView;
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/u/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/Boolean;
invoke-virtual {p0, p1}, Le/a/j/q;->invoke(Ljava/lang/Boolean;)V
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
.method public final invoke(Ljava/lang/Boolean;)V
.locals 2
iget-object v0, p0, Le/a/j/q;->this$0:Lcom/discord/views/OverlayMenuView;
invoke-static {v0}, Lcom/discord/views/OverlayMenuView;->c(Lcom/discord/views/OverlayMenuView;)Landroid/view/View;
move-result-object v0
const-string v1, "canSendInvites"
invoke-static {p1, v1}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
if-eqz p1, :cond_0
const/4 p1, 0x0
goto :goto_0
:cond_0
const/16 p1, 0x8
:goto_0
invoke-virtual {v0, p1}, Landroid/view/View;->setVisibility(I)V
return-void
.end method