82 lines
2.3 KiB
Smali
82 lines
2.3 KiB
Smali
.class final Lcom/discord/widgets/channels/WidgetTextChannelSettings$configureUI$2;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetTextChannelSettings.kt"
|
|
|
|
# interfaces
|
|
.implements Lrx/functions/Action1;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/channels/WidgetTextChannelSettings;->configureUI(Lcom/discord/widgets/channels/WidgetTextChannelSettings$Model;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x18
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lrx/functions/Action1<",
|
|
"Landroid/view/Menu;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic $this_configureUI:Lcom/discord/widgets/channels/WidgetTextChannelSettings$Model;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/discord/widgets/channels/WidgetTextChannelSettings$Model;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/channels/WidgetTextChannelSettings$configureUI$2;->$this_configureUI:Lcom/discord/widgets/channels/WidgetTextChannelSettings$Model;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final call(Landroid/view/Menu;)V
|
|
.locals 1
|
|
|
|
const v0, 0x7f0a03a9
|
|
|
|
invoke-interface {p1, v0}, Landroid/view/Menu;->findItem(I)Landroid/view/MenuItem;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "it.findItem(R.id.menu_channel_settings_delete)"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/channels/WidgetTextChannelSettings$configureUI$2;->$this_configureUI:Lcom/discord/widgets/channels/WidgetTextChannelSettings$Model;
|
|
|
|
invoke-virtual {v0}, Lcom/discord/widgets/channels/WidgetTextChannelSettings$Model;->getCanManageChannel()Z
|
|
|
|
move-result v0
|
|
|
|
invoke-interface {p1, v0}, Landroid/view/MenuItem;->setVisible(Z)Landroid/view/MenuItem;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final bridge synthetic call(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
check-cast p1, Landroid/view/Menu;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/widgets/channels/WidgetTextChannelSettings$configureUI$2;->call(Landroid/view/Menu;)V
|
|
|
|
return-void
|
|
.end method
|