forked from Juby210/discord-jadx
27 lines
1.3 KiB
Java
27 lines
1.3 KiB
Java
package com.discord.widgets.guilds.contextmenu;
|
|
|
|
import android.view.View;
|
|
import androidx.fragment.app.FragmentManager;
|
|
import com.discord.widgets.guilds.contextmenu.GuildContextMenuViewModel;
|
|
import com.discord.widgets.guilds.leave.WidgetLeaveGuildDialog;
|
|
import d0.z.d.m;
|
|
/* compiled from: WidgetGuildContextMenu.kt */
|
|
public final class WidgetGuildContextMenu$configureValidUI$3 implements View.OnClickListener {
|
|
public final /* synthetic */ GuildContextMenuViewModel.ViewState.Valid $viewState;
|
|
public final /* synthetic */ WidgetGuildContextMenu this$0;
|
|
|
|
public WidgetGuildContextMenu$configureValidUI$3(WidgetGuildContextMenu widgetGuildContextMenu, GuildContextMenuViewModel.ViewState.Valid valid) {
|
|
this.this$0 = widgetGuildContextMenu;
|
|
this.$viewState = valid;
|
|
}
|
|
|
|
@Override // android.view.View.OnClickListener
|
|
public final void onClick(View view) {
|
|
WidgetGuildContextMenu.access$doCircularRemove(this.this$0);
|
|
WidgetLeaveGuildDialog.Companion companion = WidgetLeaveGuildDialog.Companion;
|
|
FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager();
|
|
m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager");
|
|
companion.show(parentFragmentManager, this.$viewState.getGuild().getId());
|
|
}
|
|
}
|