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

70 lines
2.0 KiB
Smali

.class public final Lcom/discord/widgets/channels/WidgetChannelTopic$showContextMenu$2;
.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$2;->this$0:Lcom/discord/widgets/channels/WidgetChannelTopic;
iput-wide p2, p0, Lcom/discord/widgets/channels/WidgetChannelTopic$showContextMenu$2;->$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 3
iget-object p1, p0, Lcom/discord/widgets/channels/WidgetChannelTopic$showContextMenu$2;->this$0:Lcom/discord/widgets/channels/WidgetChannelTopic;
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
move-result-object p1
const-string v0, "requireContext()"
invoke-static {p1, v0}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
iget-wide v0, p0, Lcom/discord/widgets/channels/WidgetChannelTopic$showContextMenu$2;->$channelId:J
invoke-static {v0, v1}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;
move-result-object v0
const/4 v1, 0x0
const/4 v2, 0x4
invoke-static {p1, v0, v1, v2}, Lf/a/b/p;->c(Landroid/content/Context;Ljava/lang/CharSequence;II)V
const/4 p1, 0x1
return p1
.end method