discord-jadx/app/src/main/java/b/a/a/m.java

86 lines
3.5 KiB
Java
Raw Normal View History

2021-12-17 22:01:24 +00:00
package b.a.a;
2021-07-24 02:37:17 +00:00
import android.view.View;
import android.widget.LinearLayout;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
2021-12-17 22:01:24 +00:00
import b.a.i.x;
import com.discord.R;
2021-07-24 02:37:17 +00:00
import com.discord.app.AppDialog;
import com.discord.utilities.viewbinding.FragmentViewBindingDelegate;
import com.discord.utilities.viewbinding.FragmentViewBindingDelegateKt;
import com.google.android.material.button.MaterialButton;
2021-11-01 07:19:03 +00:00
import d0.z.d.k;
2021-07-24 02:37:17 +00:00
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.reflect.KProperty;
2021-08-03 07:33:18 +00:00
/* compiled from: GuildVideoAtCapacityDialog.kt */
2021-07-24 02:37:17 +00:00
public final class m extends AppDialog {
2021-12-17 22:01:24 +00:00
public static final /* synthetic */ KProperty[] j = {b.d.b.a.a.b0(m.class, "binding", "getBinding()Lcom/discord/databinding/GuildVideoAtCapacityBinding;", 0)};
public static final a k = new a(null);
public final FragmentViewBindingDelegate l = FragmentViewBindingDelegateKt.viewBinding$default(this, b.j, null, 2, null);
2021-07-24 02:37:17 +00:00
2021-08-03 07:33:18 +00:00
/* compiled from: GuildVideoAtCapacityDialog.kt */
2021-07-24 02:37:17 +00:00
public static final class a {
public a(DefaultConstructorMarker defaultConstructorMarker) {
}
2021-08-03 07:33:18 +00:00
public final void a(FragmentManager fragmentManager) {
2021-11-01 07:19:03 +00:00
d0.z.d.m.checkNotNullParameter(fragmentManager, "fragmentManager");
2021-08-03 07:33:18 +00:00
new m().show(fragmentManager, m.class.getSimpleName());
2021-07-24 02:37:17 +00:00
}
}
2021-08-03 07:33:18 +00:00
/* compiled from: GuildVideoAtCapacityDialog.kt */
2021-12-17 22:01:24 +00:00
public static final /* synthetic */ class b extends k implements Function1<View, x> {
public static final b j = new b();
2021-07-24 02:37:17 +00:00
2021-08-03 07:33:18 +00:00
public b() {
2021-12-17 22:01:24 +00:00
super(1, x.class, "bind", "bind(Landroid/view/View;)Lcom/discord/databinding/GuildVideoAtCapacityBinding;", 0);
2021-07-24 02:37:17 +00:00
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
2021-12-17 22:01:24 +00:00
public x invoke(View view) {
2021-07-24 02:37:17 +00:00
View view2 = view;
2021-11-01 07:19:03 +00:00
d0.z.d.m.checkNotNullParameter(view2, "p1");
2021-12-17 22:01:24 +00:00
int i = R.id.guild_video_at_capacity_confirm;
MaterialButton materialButton = (MaterialButton) view2.findViewById(R.id.guild_video_at_capacity_confirm);
2021-07-24 02:37:17 +00:00
if (materialButton != null) {
2021-12-17 22:01:24 +00:00
i = R.id.notice_header_container;
LinearLayout linearLayout = (LinearLayout) view2.findViewById(R.id.notice_header_container);
2021-08-03 07:33:18 +00:00
if (linearLayout != null) {
2021-12-17 22:01:24 +00:00
return new x((LinearLayout) view2, materialButton, linearLayout);
2021-07-24 02:37:17 +00:00
}
}
2021-12-17 22:01:24 +00:00
throw new NullPointerException("Missing required view with ID: ".concat(view2.getResources().getResourceName(i)));
2021-07-24 02:37:17 +00:00
}
}
2021-08-03 07:33:18 +00:00
/* compiled from: GuildVideoAtCapacityDialog.kt */
public static final class c implements View.OnClickListener {
2021-12-17 22:01:24 +00:00
public final /* synthetic */ m j;
2021-07-24 02:37:17 +00:00
2021-08-03 07:33:18 +00:00
public c(m mVar) {
2021-12-17 22:01:24 +00:00
this.j = mVar;
2021-07-24 02:37:17 +00:00
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
2021-12-17 22:01:24 +00:00
this.j.dismiss();
2021-07-24 02:37:17 +00:00
}
}
public m() {
super(R.layout.guild_video_at_capacity);
2021-07-24 02:37:17 +00:00
}
@Override // com.discord.app.AppDialog, androidx.fragment.app.Fragment
2021-08-03 07:33:18 +00:00
public void onResume() {
super.onResume();
requireDialog().setCanceledOnTouchOutside(true);
2022-01-31 08:58:36 +00:00
((x) this.l.getValue((Fragment) this, j[0])).f223b.setOnClickListener(new c(this));
2021-07-24 02:37:17 +00:00
}
}