apkfuckery/com.discord/smali/f/a/b/d.smali
2020-11-16 01:00:50 +00:00

49 lines
1.2 KiB
Smali

.class public final Lf/a/b/d;
.super Ljava/lang/Object;
.source "AppActivity.kt"
# interfaces
.implements Landroidx/appcompat/widget/Toolbar$OnMenuItemClickListener;
# instance fields
.field public final synthetic a:Landroidx/appcompat/widget/Toolbar;
.field public final synthetic b:Lrx/functions/Action2;
# direct methods
.method public constructor <init>(Landroidx/appcompat/widget/Toolbar;ILrx/functions/Action2;Lrx/functions/Action1;)V
.locals 0
iput-object p1, p0, Lf/a/b/d;->a:Landroidx/appcompat/widget/Toolbar;
iput-object p3, p0, Lf/a/b/d;->b:Lrx/functions/Action2;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onMenuItemClick(Landroid/view/MenuItem;)Z
.locals 2
iget-object v0, p0, Lf/a/b/d;->b:Lrx/functions/Action2;
if-eqz v0, :cond_0
iget-object v1, p0, Lf/a/b/d;->a:Landroidx/appcompat/widget/Toolbar;
invoke-virtual {v1}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;
move-result-object v1
invoke-interface {v0, p1, v1}, Lrx/functions/Action2;->call(Ljava/lang/Object;Ljava/lang/Object;)V
:cond_0
const/4 p1, 0x1
return p1
.end method