2021-06-27 20:44:35 +00:00
|
|
|
package com.discord.widgets.chat.list.actions;
|
|
|
|
|
|
|
|
import android.content.Intent;
|
|
|
|
import android.view.View;
|
|
|
|
import com.discord.utilities.intent.IntentUtils;
|
|
|
|
import com.discord.widgets.chat.list.actions.WidgetChatListActions;
|
|
|
|
/* compiled from: WidgetChatListActions.kt */
|
|
|
|
public final class WidgetChatListActions$configureUI$10 implements View.OnClickListener {
|
|
|
|
public final /* synthetic */ WidgetChatListActions.Model $data;
|
|
|
|
public final /* synthetic */ WidgetChatListActions this$0;
|
|
|
|
|
|
|
|
public WidgetChatListActions$configureUI$10(WidgetChatListActions widgetChatListActions, WidgetChatListActions.Model model) {
|
|
|
|
this.this$0 = widgetChatListActions;
|
|
|
|
this.$data = model;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // android.view.View.OnClickListener
|
|
|
|
public final void onClick(View view) {
|
2021-06-27 20:53:42 +00:00
|
|
|
this.this$0.requireContext().startActivity(Intent.createChooser(IntentUtils.INSTANCE.toExternalizedSend(IntentUtils.RouteBuilders.selectChannel(this.$data.getMessage().i(), this.$data.getGuildId(), Long.valueOf(this.$data.getMessage().r()))), this.this$0.getString(2131893239)));
|
2021-06-27 20:44:35 +00:00
|
|
|
this.this$0.dismiss();
|
|
|
|
}
|
|
|
|
}
|