2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.guilds.invite;
|
|
|
|
|
|
|
|
import android.view.View;
|
|
|
|
import android.widget.LinearLayout;
|
|
|
|
import android.widget.RadioGroup;
|
|
|
|
import android.widget.Spinner;
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.z.d.k;
|
|
|
|
import c0.z.d.m;
|
2021-08-09 22:51:56 +00:00
|
|
|
import com.discord.R;
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.databinding.WidgetGuildInviteSettingsBinding;
|
|
|
|
import com.discord.views.CheckedSetting;
|
|
|
|
import com.google.android.material.button.MaterialButton;
|
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* compiled from: WidgetGuildInviteSettings.kt */
|
|
|
|
public final /* synthetic */ class WidgetGuildInviteSettings$binding$2 extends k implements Function1<View, WidgetGuildInviteSettingsBinding> {
|
|
|
|
public static final WidgetGuildInviteSettings$binding$2 INSTANCE = new WidgetGuildInviteSettings$binding$2();
|
|
|
|
|
|
|
|
public WidgetGuildInviteSettings$binding$2() {
|
|
|
|
super(1, WidgetGuildInviteSettingsBinding.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/WidgetGuildInviteSettingsBinding;", 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
public final WidgetGuildInviteSettingsBinding invoke(View view) {
|
|
|
|
m.checkNotNullParameter(view, "p1");
|
2021-08-09 22:51:56 +00:00
|
|
|
int i = R.id.guild_invite_channel_spinner;
|
|
|
|
Spinner spinner = (Spinner) view.findViewById(R.id.guild_invite_channel_spinner);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (spinner != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.guild_invite_expires_after_radiogroup;
|
|
|
|
RadioGroup radioGroup = (RadioGroup) view.findViewById(R.id.guild_invite_expires_after_radiogroup);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (radioGroup != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.guild_invite_generate_link;
|
|
|
|
MaterialButton materialButton = (MaterialButton) view.findViewById(R.id.guild_invite_generate_link);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (materialButton != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.guild_invite_max_uses_radiogroup;
|
|
|
|
RadioGroup radioGroup2 = (RadioGroup) view.findViewById(R.id.guild_invite_max_uses_radiogroup);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (radioGroup2 != null) {
|
2021-08-09 22:51:56 +00:00
|
|
|
i = R.id.guild_invite_temporary_membership;
|
|
|
|
CheckedSetting checkedSetting = (CheckedSetting) view.findViewById(R.id.guild_invite_temporary_membership);
|
2021-08-03 07:33:18 +00:00
|
|
|
if (checkedSetting != null) {
|
|
|
|
return new WidgetGuildInviteSettingsBinding((LinearLayout) view, spinner, radioGroup, materialButton, radioGroup2, checkedSetting);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
|
|
|
|
}
|
|
|
|
}
|