apkfuckery/com.discord/smali/com/discord/widgets/channels/WidgetChannelTopic$showCont...

58 lines
1.7 KiB
Smali

.class public final Lcom/discord/widgets/channels/WidgetChannelTopic$showContextMenu$1;
.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$1;->this$0:Lcom/discord/widgets/channels/WidgetChannelTopic;
iput-wide p2, p0, Lcom/discord/widgets/channels/WidgetChannelTopic$showContextMenu$1;->$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-object p1, p0, Lcom/discord/widgets/channels/WidgetChannelTopic$showContextMenu$1;->this$0:Lcom/discord/widgets/channels/WidgetChannelTopic;
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
move-result-object p1
iget-wide v0, p0, Lcom/discord/widgets/channels/WidgetChannelTopic$showContextMenu$1;->$channelId:J
invoke-static {p1, v0, v1}, Lcom/discord/widgets/chat/pins/WidgetChannelPinnedMessages;->show(Landroid/content/Context;J)V
const/4 p1, 0x1
return p1
.end method