24 lines
1.3 KiB
Java
24 lines
1.3 KiB
Java
package com.discord.widgets.announcements;
|
|
|
|
import android.view.View;
|
|
import com.discord.models.guild.Guild;
|
|
import com.discord.widgets.announcements.WidgetChannelFollowSheet;
|
|
import com.discord.widgets.announcements.WidgetChannelFollowSheetViewModel;
|
|
import com.discord.widgets.channels.WidgetChannelSelector;
|
|
/* compiled from: WidgetChannelFollowSheet.kt */
|
|
public final class WidgetChannelFollowSheet$configureChannelSelector$1 implements View.OnClickListener {
|
|
public final /* synthetic */ Guild $selectedGuild;
|
|
public final /* synthetic */ WidgetChannelFollowSheetViewModel.ViewState.Loaded $viewState;
|
|
public final /* synthetic */ WidgetChannelFollowSheet this$0;
|
|
|
|
public WidgetChannelFollowSheet$configureChannelSelector$1(WidgetChannelFollowSheet widgetChannelFollowSheet, Guild guild, WidgetChannelFollowSheetViewModel.ViewState.Loaded loaded) {
|
|
this.this$0 = widgetChannelFollowSheet;
|
|
this.$selectedGuild = guild;
|
|
this.$viewState = loaded;
|
|
}
|
|
|
|
@Override // android.view.View.OnClickListener
|
|
public final void onClick(View view) {
|
|
WidgetChannelSelector.Companion.launch(this.this$0, this.$selectedGuild.getId(), "REQUEST_KEY_CHANNEL_FOLLOW_CHANNEL", false, 2131891598, new WidgetChannelFollowSheet.ChannelFollowChannelFilterFunction(this.$selectedGuild.getId(), this.$viewState.getAvailableChannels()));
|
|
}
|
|
}
|