.class public final Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions; .super Lcom/discord/app/AppBottomSheet; .source "WidgetChannelsListItemChannelActions.kt" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Companion; } .end annotation # static fields .field public static final synthetic $$delegatedProperties:[Lkotlin/reflect/KProperty; .field public static final Companion:Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Companion; .field public static final INTENT_EXTRA_CHANNEL_ID:Ljava/lang/String; = "INTENT_EXTRA_CHANNEL_ID" # instance fields .field public final channelNotifSettings$delegate:Lkotlin/properties/ReadOnlyProperty; .field public final channelSettings$delegate:Lkotlin/properties/ReadOnlyProperty; .field public final copyId$delegate:Lkotlin/properties/ReadOnlyProperty; .field public final developerDivider$delegate:Lkotlin/properties/ReadOnlyProperty; .field public final icon$delegate:Lkotlin/properties/ReadOnlyProperty; .field public final instantInvite$delegate:Lkotlin/properties/ReadOnlyProperty; .field public final markAsRead$delegate:Lkotlin/properties/ReadOnlyProperty; .field public final muteChannel$delegate:Lkotlin/properties/ReadOnlyProperty; .field public final profile$delegate:Lkotlin/properties/ReadOnlyProperty; .field public final title$delegate:Lkotlin/properties/ReadOnlyProperty; # direct methods .method public static constructor ()V .locals 6 const/16 v0, 0xa new-array v0, v0, [Lkotlin/reflect/KProperty; new-instance v1, Lw/u/b/u; const-class v2, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions; invoke-static {v2}, Lw/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lw/y/b; move-result-object v2 const-string v3, "icon" const-string v4, "getIcon()Landroid/widget/ImageView;" invoke-direct {v1, v2, v3, v4}, Lw/u/b/u;->(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V sget-object v2, Lw/u/b/w;->a:Lw/u/b/x; invoke-virtual {v2, v1}, Lw/u/b/x;->property1(Lw/u/b/t;)Lw/y/d; const/4 v2, 0x0 aput-object v1, v0, v2 const/4 v1, 0x1 new-instance v2, Lw/u/b/u; const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions; invoke-static {v3}, Lw/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lw/y/b; move-result-object v3 const-string v4, "title" const-string v5, "getTitle()Landroid/widget/TextView;" invoke-direct {v2, v3, v4, v5}, Lw/u/b/u;->(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V sget-object v3, Lw/u/b/w;->a:Lw/u/b/x; invoke-virtual {v3, v2}, Lw/u/b/x;->property1(Lw/u/b/t;)Lw/y/d; aput-object v2, v0, v1 const/4 v1, 0x2 new-instance v2, Lw/u/b/u; const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions; invoke-static {v3}, Lw/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lw/y/b; move-result-object v3 const-string v4, "profile" const-string v5, "getProfile()Landroid/view/View;" invoke-direct {v2, v3, v4, v5}, Lw/u/b/u;->(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V sget-object v3, Lw/u/b/w;->a:Lw/u/b/x; invoke-virtual {v3, v2}, Lw/u/b/x;->property1(Lw/u/b/t;)Lw/y/d; aput-object v2, v0, v1 const/4 v1, 0x3 new-instance v2, Lw/u/b/u; const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions; invoke-static {v3}, Lw/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lw/y/b; move-result-object v3 const-string v4, "muteChannel" const-string v5, "getMuteChannel()Landroid/widget/TextView;" invoke-direct {v2, v3, v4, v5}, Lw/u/b/u;->(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V sget-object v3, Lw/u/b/w;->a:Lw/u/b/x; invoke-virtual {v3, v2}, Lw/u/b/x;->property1(Lw/u/b/t;)Lw/y/d; aput-object v2, v0, v1 const/4 v1, 0x4 new-instance v2, Lw/u/b/u; const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions; invoke-static {v3}, Lw/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lw/y/b; move-result-object v3 const-string v4, "channelSettings" const-string v5, "getChannelSettings()Landroid/widget/TextView;" invoke-direct {v2, v3, v4, v5}, Lw/u/b/u;->(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V sget-object v3, Lw/u/b/w;->a:Lw/u/b/x; invoke-virtual {v3, v2}, Lw/u/b/x;->property1(Lw/u/b/t;)Lw/y/d; aput-object v2, v0, v1 const/4 v1, 0x5 new-instance v2, Lw/u/b/u; const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions; invoke-static {v3}, Lw/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lw/y/b; move-result-object v3 const-string v4, "channelNotifSettings" const-string v5, "getChannelNotifSettings()Landroid/widget/TextView;" invoke-direct {v2, v3, v4, v5}, Lw/u/b/u;->(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V sget-object v3, Lw/u/b/w;->a:Lw/u/b/x; invoke-virtual {v3, v2}, Lw/u/b/x;->property1(Lw/u/b/t;)Lw/y/d; aput-object v2, v0, v1 const/4 v1, 0x6 new-instance v2, Lw/u/b/u; const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions; invoke-static {v3}, Lw/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lw/y/b; move-result-object v3 const-string v4, "instantInvite" const-string v5, "getInstantInvite()Landroid/view/View;" invoke-direct {v2, v3, v4, v5}, Lw/u/b/u;->(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V sget-object v3, Lw/u/b/w;->a:Lw/u/b/x; invoke-virtual {v3, v2}, Lw/u/b/x;->property1(Lw/u/b/t;)Lw/y/d; aput-object v2, v0, v1 const/4 v1, 0x7 new-instance v2, Lw/u/b/u; const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions; invoke-static {v3}, Lw/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lw/y/b; move-result-object v3 const-string v4, "markAsRead" const-string v5, "getMarkAsRead()Landroid/widget/TextView;" invoke-direct {v2, v3, v4, v5}, Lw/u/b/u;->(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V sget-object v3, Lw/u/b/w;->a:Lw/u/b/x; invoke-virtual {v3, v2}, Lw/u/b/x;->property1(Lw/u/b/t;)Lw/y/d; aput-object v2, v0, v1 const/16 v1, 0x8 new-instance v2, Lw/u/b/u; const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions; invoke-static {v3}, Lw/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lw/y/b; move-result-object v3 const-string v4, "developerDivider" const-string v5, "getDeveloperDivider()Landroid/view/View;" invoke-direct {v2, v3, v4, v5}, Lw/u/b/u;->(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V sget-object v3, Lw/u/b/w;->a:Lw/u/b/x; invoke-virtual {v3, v2}, Lw/u/b/x;->property1(Lw/u/b/t;)Lw/y/d; aput-object v2, v0, v1 const/16 v1, 0x9 new-instance v2, Lw/u/b/u; const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions; invoke-static {v3}, Lw/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lw/y/b; move-result-object v3 const-string v4, "copyId" const-string v5, "getCopyId()Landroid/view/View;" invoke-direct {v2, v3, v4, v5}, Lw/u/b/u;->(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V sget-object v3, Lw/u/b/w;->a:Lw/u/b/x; invoke-virtual {v3, v2}, Lw/u/b/x;->property1(Lw/u/b/t;)Lw/y/d; aput-object v2, v0, v1 sput-object v0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty; new-instance v0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Companion; const/4 v1, 0x0 invoke-direct {v0, v1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Companion;->(Lkotlin/jvm/internal/DefaultConstructorMarker;)V sput-object v0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->Companion:Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Companion; return-void .end method .method public constructor ()V .locals 1 invoke-direct {p0}, Lcom/discord/app/AppBottomSheet;->()V const v0, 0x7f0a01bd invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty; move-result-object v0 iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->icon$delegate:Lkotlin/properties/ReadOnlyProperty; const v0, 0x7f0a01c2 invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty; move-result-object v0 iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->title$delegate:Lkotlin/properties/ReadOnlyProperty; const v0, 0x7f0a01c1 invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty; move-result-object v0 iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->profile$delegate:Lkotlin/properties/ReadOnlyProperty; const v0, 0x7f0a01c0 invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty; move-result-object v0 iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->muteChannel$delegate:Lkotlin/properties/ReadOnlyProperty; const v0, 0x7f0a01ba invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty; move-result-object v0 iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->channelSettings$delegate:Lkotlin/properties/ReadOnlyProperty; const v0, 0x7f0a01b9 invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty; move-result-object v0 iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->channelNotifSettings$delegate:Lkotlin/properties/ReadOnlyProperty; const v0, 0x7f0a01be invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty; move-result-object v0 iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->instantInvite$delegate:Lkotlin/properties/ReadOnlyProperty; const v0, 0x7f0a01bf invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty; move-result-object v0 iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->markAsRead$delegate:Lkotlin/properties/ReadOnlyProperty; const v0, 0x7f0a01bc invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty; move-result-object v0 iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->developerDivider$delegate:Lkotlin/properties/ReadOnlyProperty; const v0, 0x7f0a01bb invoke-static {p0, v0}, Lx/a/a2/w;->a(Landroidx/fragment/app/DialogFragment;I)Lkotlin/properties/ReadOnlyProperty; move-result-object v0 iput-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->copyId$delegate:Lkotlin/properties/ReadOnlyProperty; return-void .end method .method public static final synthetic access$configureUI(Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;)V .locals 0 invoke-direct {p0, p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->configureUI(Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;)V return-void .end method .method private final configureUI(Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;)V .locals 14 if-nez p1, :cond_0 invoke-virtual {p0}, Lcom/discord/app/AppBottomSheet;->dismiss()V return-void :cond_0 invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;->getGuild()Lcom/discord/models/domain/ModelGuild; move-result-object v0 if-eqz v0, :cond_1 invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->getIcon()Landroid/widget/ImageView; move-result-object v1 invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;->getGuild()Lcom/discord/models/domain/ModelGuild; move-result-object v2 const/4 v3, 0x0 const/4 v4, 0x0 const/4 v5, 0x0 const/16 v6, 0x1c const/4 v7, 0x0 invoke-static/range {v1 .. v7}, Lcom/discord/utilities/icon/IconUtils;->setIcon$default(Landroid/widget/ImageView;Lcom/discord/models/domain/ModelGuild;ILcom/discord/utilities/images/MGImages$ChangeDetector;ZILjava/lang/Object;)V goto :goto_0 :cond_1 invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->getIcon()Landroid/widget/ImageView; move-result-object v8 invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;->getChannel()Lcom/discord/models/domain/ModelChannel; move-result-object v9 const/4 v10, 0x0 const/4 v11, 0x0 const/16 v12, 0xc const/4 v13, 0x0 invoke-static/range {v8 .. v13}, Lcom/discord/utilities/icon/IconUtils;->setIcon$default(Landroid/widget/ImageView;Lcom/discord/models/domain/ModelChannel;ILcom/discord/utilities/images/MGImages$ChangeDetector;ILjava/lang/Object;)V :goto_0 invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->getTitle()Landroid/widget/TextView; move-result-object v0 invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;->getChannel()Lcom/discord/models/domain/ModelChannel; move-result-object v1 invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context; move-result-object v2 const-string v3, "requireContext()" invoke-static {v2, v3}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const/4 v3, 0x0 const/4 v4, 0x2 const/4 v5, 0x0 invoke-static {v1, v2, v5, v4, v3}, Lcom/discord/utilities/channel/ChannelUtils;->getDisplayName$default(Lcom/discord/models/domain/ModelChannel;Landroid/content/Context;ZILjava/lang/Object;)Ljava/lang/String; move-result-object v1 invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->getProfile()Landroid/view/View; move-result-object v0 invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;->getChannel()Lcom/discord/models/domain/ModelChannel; move-result-object v1 invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->isDM()Z move-result v1 invoke-static {v0, v1, v5, v4, v3}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy$default(Landroid/view/View;ZIILjava/lang/Object;)V new-instance v1, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$configureUI$$inlined$apply$lambda$1; invoke-direct {v1, p0, p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$configureUI$$inlined$apply$lambda$1;->(Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;)V invoke-virtual {p0, v0, v1}, Lcom/discord/app/AppBottomSheet;->setOnClickAndDismissListener(Landroid/view/View;Lkotlin/jvm/functions/Function1;)V invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->getInstantInvite()Landroid/view/View; move-result-object v0 invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;->getCanCreateInstantInvite()Z move-result v1 const/4 v2, 0x1 if-eqz v1, :cond_2 invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;->getChannel()Lcom/discord/models/domain/ModelChannel; move-result-object v1 invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->isTextChannel()Z move-result v1 if-eqz v1, :cond_2 const/4 v1, 0x1 goto :goto_1 :cond_2 const/4 v1, 0x0 :goto_1 invoke-static {v0, v1, v5, v4, v3}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy$default(Landroid/view/View;ZIILjava/lang/Object;)V new-instance v1, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$configureUI$$inlined$apply$lambda$2; invoke-direct {v1, v0, p0, p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$configureUI$$inlined$apply$lambda$2;->(Landroid/view/View;Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;)V invoke-virtual {p0, v0, v1}, Lcom/discord/app/AppBottomSheet;->setOnClickAndDismissListener(Landroid/view/View;Lkotlin/jvm/functions/Function1;)V invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->getMuteChannel()Landroid/widget/TextView; move-result-object v0 new-instance v1, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$configureUI$$inlined$apply$lambda$3; invoke-direct {v1, v0, p0, p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$configureUI$$inlined$apply$lambda$3;->(Landroid/widget/TextView;Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;)V invoke-virtual {p0, v0, v1}, Lcom/discord/app/AppBottomSheet;->setOnClickAndDismissListener(Landroid/view/View;Lkotlin/jvm/functions/Function1;)V invoke-virtual {v0}, Landroid/widget/TextView;->getContext()Landroid/content/Context; move-result-object v1 const-string v6, "context" invoke-static {v1, v6}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-virtual {p1, v1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;->getMuteIconResId(Landroid/content/Context;)I move-result v1 invoke-virtual {v0, v1, v5, v5, v5}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(IIII)V invoke-virtual {v0}, Landroid/widget/TextView;->getContext()Landroid/content/Context; move-result-object v1 invoke-static {v1, v6}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-virtual {p1, v1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;->getMuteChannelText(Landroid/content/Context;)Ljava/lang/CharSequence; move-result-object v1 invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->getChannelSettings()Landroid/widget/TextView; move-result-object v0 invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;->getCanManageChannel()Z move-result v1 invoke-static {v0, v1, v5, v4, v3}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy$default(Landroid/view/View;ZIILjava/lang/Object;)V new-instance v1, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$configureUI$$inlined$apply$lambda$4; invoke-direct {v1, v0, p0, p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$configureUI$$inlined$apply$lambda$4;->(Landroid/widget/TextView;Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;)V invoke-virtual {p0, v0, v1}, Lcom/discord/app/AppBottomSheet;->setOnClickAndDismissListener(Landroid/view/View;Lkotlin/jvm/functions/Function1;)V invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;->getChannel()Lcom/discord/models/domain/ModelChannel; move-result-object v1 invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;->getCanManageChannel()Z move-result v6 invoke-direct {p0, v1, v6}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->getSettingsText(Lcom/discord/models/domain/ModelChannel;Z)Ljava/lang/String; move-result-object v1 invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->getChannelNotifSettings()Landroid/widget/TextView; move-result-object v0 invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;->getChannel()Lcom/discord/models/domain/ModelChannel; move-result-object v1 invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->isGuildTextyChannel()Z move-result v1 if-nez v1, :cond_4 invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;->getChannel()Lcom/discord/models/domain/ModelChannel; move-result-object v1 invoke-virtual {v1}, Lcom/discord/models/domain/ModelChannel;->isCategory()Z move-result v1 if-eqz v1, :cond_3 goto :goto_2 :cond_3 const/4 v2, 0x0 :cond_4 :goto_2 invoke-static {v0, v2, v5, v4, v3}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy$default(Landroid/view/View;ZIILjava/lang/Object;)V invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->getChannelNotifSettings()Landroid/widget/TextView; move-result-object v0 new-instance v1, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$configureUI$5; invoke-direct {v1, p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$configureUI$5;->(Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;)V invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->getMarkAsRead()Landroid/widget/TextView; move-result-object v0 new-instance v1, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$configureUI$6; invoke-direct {v1, p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$configureUI$6;->(Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;)V invoke-virtual {p0, v0, v1}, Lcom/discord/app/AppBottomSheet;->setOnClickAndDismissListener(Landroid/view/View;Lkotlin/jvm/functions/Function1;)V invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->getDeveloperDivider()Landroid/view/View; move-result-object v0 invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;->isDeveloper()Z move-result v1 invoke-static {v0, v1, v5, v4, v3}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy$default(Landroid/view/View;ZIILjava/lang/Object;)V invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->getCopyId()Landroid/view/View; move-result-object v0 invoke-virtual {p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;->isDeveloper()Z move-result v1 invoke-static {v0, v1, v5, v4, v3}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy$default(Landroid/view/View;ZIILjava/lang/Object;)V invoke-direct {p0}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->getCopyId()Landroid/view/View; move-result-object v0 new-instance v1, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$configureUI$7; invoke-direct {v1, p1}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$configureUI$7;->(Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;)V invoke-virtual {p0, v0, v1}, Lcom/discord/app/AppBottomSheet;->setOnClickAndDismissListener(Landroid/view/View;Lkotlin/jvm/functions/Function1;)V return-void .end method .method private final getChannelNotifSettings()Landroid/widget/TextView; .locals 3 iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->channelNotifSettings$delegate:Lkotlin/properties/ReadOnlyProperty; sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty; const/4 v2, 0x5 aget-object v1, v1, v2 invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object; move-result-object v0 check-cast v0, Landroid/widget/TextView; return-object v0 .end method .method private final getChannelSettings()Landroid/widget/TextView; .locals 3 iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->channelSettings$delegate:Lkotlin/properties/ReadOnlyProperty; sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty; const/4 v2, 0x4 aget-object v1, v1, v2 invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object; move-result-object v0 check-cast v0, Landroid/widget/TextView; return-object v0 .end method .method private final getCopyId()Landroid/view/View; .locals 3 iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->copyId$delegate:Lkotlin/properties/ReadOnlyProperty; sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty; const/16 v2, 0x9 aget-object v1, v1, v2 invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object; move-result-object v0 check-cast v0, Landroid/view/View; return-object v0 .end method .method private final getDeveloperDivider()Landroid/view/View; .locals 3 iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->developerDivider$delegate:Lkotlin/properties/ReadOnlyProperty; sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty; const/16 v2, 0x8 aget-object v1, v1, v2 invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object; move-result-object v0 check-cast v0, Landroid/view/View; return-object v0 .end method .method private final getIcon()Landroid/widget/ImageView; .locals 3 iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->icon$delegate:Lkotlin/properties/ReadOnlyProperty; sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty; const/4 v2, 0x0 aget-object v1, v1, v2 invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object; move-result-object v0 check-cast v0, Landroid/widget/ImageView; return-object v0 .end method .method private final getInstantInvite()Landroid/view/View; .locals 3 iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->instantInvite$delegate:Lkotlin/properties/ReadOnlyProperty; sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty; const/4 v2, 0x6 aget-object v1, v1, v2 invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object; move-result-object v0 check-cast v0, Landroid/view/View; return-object v0 .end method .method private final getMarkAsRead()Landroid/widget/TextView; .locals 3 iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->markAsRead$delegate:Lkotlin/properties/ReadOnlyProperty; sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty; const/4 v2, 0x7 aget-object v1, v1, v2 invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object; move-result-object v0 check-cast v0, Landroid/widget/TextView; return-object v0 .end method .method private final getMuteChannel()Landroid/widget/TextView; .locals 3 iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->muteChannel$delegate:Lkotlin/properties/ReadOnlyProperty; sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty; const/4 v2, 0x3 aget-object v1, v1, v2 invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object; move-result-object v0 check-cast v0, Landroid/widget/TextView; return-object v0 .end method .method private final getProfile()Landroid/view/View; .locals 3 iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->profile$delegate:Lkotlin/properties/ReadOnlyProperty; sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty; const/4 v2, 0x2 aget-object v1, v1, v2 invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object; move-result-object v0 check-cast v0, Landroid/view/View; return-object v0 .end method .method private final getSettingsText(Lcom/discord/models/domain/ModelChannel;Z)Ljava/lang/String; .locals 1 invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->isTextChannel()Z move-result v0 if-eqz v0, :cond_0 if-eqz p2, :cond_0 const p1, 0x7f12054d goto :goto_0 :cond_0 invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->isTextChannel()Z move-result v0 if-eqz v0, :cond_1 if-nez p2, :cond_1 const p1, 0x7f120396 goto :goto_0 :cond_1 invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->isCategory()Z move-result p1 if-eqz p1, :cond_2 const p1, 0x7f12054c goto :goto_0 :cond_2 const p1, 0x7f1210b6 :goto_0 invoke-virtual {p0, p1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String; move-result-object p1 const-string p2, "getString(\n when {\n\u2026_empty_string\n }\n )" invoke-static {p1, p2}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V return-object p1 .end method .method private final getTitle()Landroid/widget/TextView; .locals 3 iget-object v0, p0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->title$delegate:Lkotlin/properties/ReadOnlyProperty; sget-object v1, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->$$delegatedProperties:[Lkotlin/reflect/KProperty; const/4 v2, 0x1 aget-object v1, v1, v2 invoke-interface {v0, p0, v1}, Lkotlin/properties/ReadOnlyProperty;->getValue(Ljava/lang/Object;Lkotlin/reflect/KProperty;)Ljava/lang/Object; move-result-object v0 check-cast v0, Landroid/widget/TextView; return-object v0 .end method .method public static final show(Landroidx/fragment/app/FragmentManager;J)V .locals 1 sget-object v0, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;->Companion:Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Companion; invoke-virtual {v0, p0, p1, p2}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Companion;->show(Landroidx/fragment/app/FragmentManager;J)V return-void .end method # virtual methods .method public bindSubscriptions(Lrx/subscriptions/CompositeSubscription;)V .locals 11 const/4 v0, 0x0 if-eqz p1, :cond_0 invoke-super {p0, p1}, Lcom/discord/app/AppBottomSheet;->bindSubscriptions(Lrx/subscriptions/CompositeSubscription;)V invoke-virtual {p0}, Lcom/discord/app/AppBottomSheet;->getArgumentsOrDefault()Landroid/os/Bundle; move-result-object p1 const-wide/16 v1, -0x1 const-string v3, "INTENT_EXTRA_CHANNEL_ID" invoke-virtual {p1, v3, v1, v2}, Landroid/os/Bundle;->getLong(Ljava/lang/String;J)J move-result-wide v1 sget-object p1, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model;->Companion:Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model$Companion; invoke-virtual {p1, v1, v2}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$Model$Companion;->get(J)Lrx/Observable; move-result-object p1 const/4 v1, 0x2 invoke-static {p1, p0, v0, v1, v0}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->ui$default(Lrx/Observable;Lcom/discord/app/AppComponent;Lcom/discord/utilities/mg_recycler/MGRecyclerAdapterSimple;ILjava/lang/Object;)Lrx/Observable; move-result-object v2 const-class v3, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions; const/4 v4, 0x0 const/4 v5, 0x0 const/4 v6, 0x0 const/4 v7, 0x0 new-instance v8, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$bindSubscriptions$1; invoke-direct {v8, p0}, Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions$bindSubscriptions$1;->(Lcom/discord/widgets/channels/list/WidgetChannelsListItemChannelActions;)V const/16 v9, 0x1e const/4 v10, 0x0 invoke-static/range {v2 .. v10}, Lcom/discord/utilities/rx/ObservableExtensionsKt;->appSubscribe$default(Lrx/Observable;Ljava/lang/Class;Landroid/content/Context;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V return-void :cond_0 const-string p1, "compositeSubscription" invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V throw v0 .end method .method public getContentViewResId()I .locals 1 const v0, 0x7f0d0147 return v0 .end method .method public onPause()V .locals 0 invoke-super {p0}, Lcom/discord/app/AppBottomSheet;->onPause()V invoke-virtual {p0}, Lcom/discord/app/AppBottomSheet;->dismiss()V return-void .end method