24 lines
1.0 KiB
Java
24 lines
1.0 KiB
Java
package com.discord.widgets.channels;
|
|
|
|
import android.view.View;
|
|
import com.discord.widgets.channels.WidgetChannelTopicViewModel;
|
|
import com.discord.widgets.user.WidgetUserMutualGuilds;
|
|
/* compiled from: WidgetChannelTopic.kt */
|
|
public final class WidgetChannelTopic$configureUI$1 implements View.OnClickListener {
|
|
public final /* synthetic */ WidgetChannelTopicViewModel.ViewState $viewState;
|
|
public final /* synthetic */ WidgetChannelTopic this$0;
|
|
|
|
public WidgetChannelTopic$configureUI$1(WidgetChannelTopic widgetChannelTopic, WidgetChannelTopicViewModel.ViewState viewState) {
|
|
this.this$0 = widgetChannelTopic;
|
|
this.$viewState = viewState;
|
|
}
|
|
|
|
@Override // android.view.View.OnClickListener
|
|
public final void onClick(View view) {
|
|
Long recipientUserId = ((WidgetChannelTopicViewModel.ViewState.DM) this.$viewState).getRecipientUserId();
|
|
if (recipientUserId != null) {
|
|
WidgetUserMutualGuilds.Companion.show(this.this$0.requireContext(), recipientUserId.longValue());
|
|
}
|
|
}
|
|
}
|