forked from Juby210/discord-jadx
28 lines
1.3 KiB
Java
28 lines
1.3 KiB
Java
package com.discord.widgets.guilds.contextmenu;
|
|
|
|
import android.view.View;
|
|
import androidx.fragment.app.FragmentActivity;
|
|
import com.discord.widgets.guilds.contextmenu.GuildContextMenuViewModel;
|
|
import com.discord.widgets.servers.WidgetServerNotifications;
|
|
import d0.z.d.m;
|
|
/* compiled from: WidgetGuildContextMenu.kt */
|
|
public final class WidgetGuildContextMenu$configureValidUI$2 implements View.OnClickListener {
|
|
public final /* synthetic */ GuildContextMenuViewModel.ViewState.Valid $viewState;
|
|
public final /* synthetic */ WidgetGuildContextMenu this$0;
|
|
|
|
public WidgetGuildContextMenu$configureValidUI$2(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);
|
|
WidgetServerNotifications.Companion companion = WidgetServerNotifications.Companion;
|
|
long id2 = this.$viewState.getGuild().getId();
|
|
FragmentActivity requireActivity = this.this$0.requireActivity();
|
|
m.checkNotNullExpressionValue(requireActivity, "requireActivity()");
|
|
companion.launch(id2, requireActivity);
|
|
}
|
|
}
|