34 lines
1.6 KiB
Java
34 lines
1.6 KiB
Java
package com.discord.widgets.servers;
|
|
|
|
import android.view.View;
|
|
import androidx.fragment.app.FragmentManager;
|
|
import c.a.d.o;
|
|
import com.discord.api.guild.GuildFeature;
|
|
import com.discord.widgets.servers.WidgetServerSettingsEditMember;
|
|
import com.discord.widgets.servers.WidgetServerSettingsTransferOwnership;
|
|
import d0.z.d.m;
|
|
/* compiled from: WidgetServerSettingsEditMember.kt */
|
|
public final class WidgetServerSettingsEditMember$configureUI$4 implements View.OnClickListener {
|
|
public final /* synthetic */ WidgetServerSettingsEditMember.Model $data;
|
|
public final /* synthetic */ WidgetServerSettingsEditMember this$0;
|
|
|
|
public WidgetServerSettingsEditMember$configureUI$4(WidgetServerSettingsEditMember widgetServerSettingsEditMember, WidgetServerSettingsEditMember.Model model) {
|
|
this.this$0 = widgetServerSettingsEditMember;
|
|
this.$data = model;
|
|
}
|
|
|
|
@Override // android.view.View.OnClickListener
|
|
public final void onClick(View view) {
|
|
if (this.$data.getGuild().getFeatures().contains(GuildFeature.VERIFIED) || this.$data.getGuild().getFeatures().contains(GuildFeature.PARTNERED)) {
|
|
o.i(this.this$0, 2131894167, 0, 4);
|
|
return;
|
|
}
|
|
WidgetServerSettingsTransferOwnership.Companion companion = WidgetServerSettingsTransferOwnership.Companion;
|
|
long id2 = this.$data.getGuild().getId();
|
|
long id3 = this.$data.getUser().getId();
|
|
FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager();
|
|
m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager");
|
|
companion.create(id2, id3, parentFragmentManager);
|
|
}
|
|
}
|