apkfuckery/com.discord/smali/f/a/n/r.smali
2020-07-08 16:44:49 +00:00

74 lines
1.6 KiB
Smali

.class public final Lf/a/n/r;
.super Lj0/n/c/i;
.source "OverlayMenuView.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lj0/n/c/i;",
"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, Lf/a/n/r;->this$0:Lcom/discord/views/OverlayMenuView;
const/4 p1, 0x1
invoke-direct {p0, p1}, Lj0/n/c/i;-><init>(I)V
return-void
.end method
# virtual methods
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
.locals 2
check-cast p1, Ljava/lang/Boolean;
iget-object v0, p0, Lf/a/n/r;->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}, Lj0/n/c/h;->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
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method