apkfuckery/com.discord/smali/f/a/m/r.smali
2020-11-09 19:03:49 +00:00

74 lines
1.6 KiB
Smali

.class public final Lf/a/m/r;
.super Ly/n/c/k;
.source "OverlayMenuView.kt"
# interfaces
.implements Lkotlin/jvm/functions/Function1;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ly/n/c/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, Lf/a/m/r;->this$0:Lcom/discord/views/OverlayMenuView;
const/4 p1, 0x1
invoke-direct {p0, p1}, Ly/n/c/k;-><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/m/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}, Ly/n/c/j;->checkNotNullExpressionValue(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