forked from Juby210/discord-jadx
41 lines
1.9 KiB
Java
41 lines
1.9 KiB
Java
package com.discord.widgets.auth;
|
|
|
|
import android.view.View;
|
|
import androidx.fragment.app.FragmentManager;
|
|
import c.a.a.k;
|
|
import c0.z.d.m;
|
|
import c0.z.d.o;
|
|
import com.discord.R;
|
|
import com.discord.utilities.birthday.BirthdayHelper;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetAuthBirthday.kt */
|
|
public final class WidgetAuthBirthday$onViewBoundOrOnResume$1 extends o implements Function1<View, Unit> {
|
|
public final /* synthetic */ WidgetAuthBirthday this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetAuthBirthday$onViewBoundOrOnResume$1(WidgetAuthBirthday widgetAuthBirthday) {
|
|
super(1);
|
|
this.this$0 = widgetAuthBirthday;
|
|
}
|
|
|
|
/* 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
|
|
public /* bridge */ /* synthetic */ Unit invoke(View view) {
|
|
invoke(view);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(View view) {
|
|
m.checkNotNullParameter(view, "it");
|
|
k.a aVar = k.j;
|
|
FragmentManager parentFragmentManager = this.this$0.getParentFragmentManager();
|
|
m.checkNotNullExpressionValue(parentFragmentManager, "parentFragmentManager");
|
|
String string = this.this$0.getString(R.string.age_gate_date_of_birth);
|
|
m.checkNotNullExpressionValue(string, "getString(R.string.age_gate_date_of_birth)");
|
|
Long access$getBirthday = WidgetAuthBirthday.access$getBirthday(this.this$0);
|
|
aVar.a(parentFragmentManager, string, access$getBirthday != null ? access$getBirthday.longValue() : BirthdayHelper.INSTANCE.defaultInputAge(), BirthdayHelper.INSTANCE.getMaxDateOfBirth()).k = new WidgetAuthBirthday$onViewBoundOrOnResume$1$$special$$inlined$apply$lambda$1(this);
|
|
}
|
|
}
|