.class public final Lcom/discord/widgets/channels/WidgetChannelTopic$showContextMenu$5; .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 this$0:Lcom/discord/widgets/channels/WidgetChannelTopic; # direct methods .method public constructor (Lcom/discord/widgets/channels/WidgetChannelTopic;)V .locals 0 iput-object p1, p0, Lcom/discord/widgets/channels/WidgetChannelTopic$showContextMenu$5;->this$0:Lcom/discord/widgets/channels/WidgetChannelTopic; invoke-direct {p0}, Ljava/lang/Object;->()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$5;->this$0:Lcom/discord/widgets/channels/WidgetChannelTopic; invoke-static {p1}, Lcom/discord/widgets/channels/WidgetChannelTopic;->access$getViewModel$p(Lcom/discord/widgets/channels/WidgetChannelTopic;)Lcom/discord/widgets/channels/WidgetChannelTopicViewModel; move-result-object p1 iget-object v0, p0, Lcom/discord/widgets/channels/WidgetChannelTopic$showContextMenu$5;->this$0:Lcom/discord/widgets/channels/WidgetChannelTopic; invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context; move-result-object v0 const-string v1, "requireContext()" invoke-static {v0, v1}, Lc0/n/c/j;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V invoke-virtual {p1, v0}, Lcom/discord/widgets/channels/WidgetChannelTopicViewModel;->handleClosePrivateChannel(Landroid/content/Context;)Lkotlin/Unit; const/4 p1, 0x1 return p1 .end method