forked from Juby210/discord-jadx
34 lines
2 KiB
Java
34 lines
2 KiB
Java
package com.discord.widgets.guilds.invite;
|
|
|
|
import android.content.Context;
|
|
import android.content.Intent;
|
|
import android.view.View;
|
|
import androidx.activity.result.ActivityResultLauncher;
|
|
import com.discord.widgets.guilds.invite.GuildInviteShareSheetViewModel;
|
|
import com.discord.widgets.guilds.invite.WidgetGuildInviteSettings;
|
|
import d0.z.d.m;
|
|
/* compiled from: WidgetGuildInviteShareSheet.kt */
|
|
public final class WidgetGuildInviteShareSheet$configureNormalUI$$inlined$with$lambda$3 implements View.OnClickListener {
|
|
public final /* synthetic */ GuildInvite $invite;
|
|
public final /* synthetic */ String $searchQuery$inlined;
|
|
public final /* synthetic */ GuildInviteShareSheetViewModel.ViewState $viewState$inlined;
|
|
public final /* synthetic */ WidgetGuildInviteShareSheet this$0;
|
|
|
|
public WidgetGuildInviteShareSheet$configureNormalUI$$inlined$with$lambda$3(GuildInvite guildInvite, WidgetGuildInviteShareSheet widgetGuildInviteShareSheet, String str, GuildInviteShareSheetViewModel.ViewState viewState) {
|
|
this.$invite = guildInvite;
|
|
this.this$0 = widgetGuildInviteShareSheet;
|
|
this.$searchQuery$inlined = str;
|
|
this.$viewState$inlined = viewState;
|
|
}
|
|
|
|
@Override // android.view.View.OnClickListener
|
|
public final void onClick(View view) {
|
|
WidgetGuildInviteSettings.Companion companion = WidgetGuildInviteSettings.Companion;
|
|
Context requireContext = this.this$0.requireContext();
|
|
m.checkNotNullExpressionValue(requireContext, "requireContext()");
|
|
ActivityResultLauncher<Intent> access$getGuildInviteSettingsLauncher$p = WidgetGuildInviteShareSheet.access$getGuildInviteSettingsLauncher$p(this.this$0);
|
|
GuildInvite guildInvite = this.$invite;
|
|
companion.launch(requireContext, access$getGuildInviteSettingsLauncher$p, guildInvite != null ? guildInvite.getChannelId() : null, WidgetGuildInviteShareSheet.access$getViewModel$p(this.this$0).getGuildId(), "Instant Invite Action Sheet");
|
|
}
|
|
}
|