57 lines
1.7 KiB
Smali
57 lines
1.7 KiB
Smali
.class public final Lcom/discord/widgets/channels/WidgetChannelTopic$showContextMenu$3;
|
|
.super Ljava/lang/Object;
|
|
.source "WidgetChannelTopic.kt"
|
|
|
|
# interfaces
|
|
.implements Landroid/view/MenuItem$OnMenuItemClickListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/widgets/channels/WidgetChannelTopic;->showContextMenu(ZJLjava/lang/String;Z)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic $channelId:J
|
|
|
|
.field public final synthetic this$0:Lcom/discord/widgets/channels/WidgetChannelTopic;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/discord/widgets/channels/WidgetChannelTopic;J)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/channels/WidgetChannelTopic$showContextMenu$3;->this$0:Lcom/discord/widgets/channels/WidgetChannelTopic;
|
|
|
|
iput-wide p2, p0, Lcom/discord/widgets/channels/WidgetChannelTopic$showContextMenu$3;->$channelId:J
|
|
|
|
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-wide v0, p0, Lcom/discord/widgets/channels/WidgetChannelTopic$showContextMenu$3;->$channelId:J
|
|
|
|
iget-object p1, p0, Lcom/discord/widgets/channels/WidgetChannelTopic$showContextMenu$3;->this$0:Lcom/discord/widgets/channels/WidgetChannelTopic;
|
|
|
|
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {v0, v1, p1}, Lcom/discord/widgets/channels/WidgetChannelGroupDMSettings;->create(JLandroid/content/Context;)V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
.end method
|