discord-jadx/app/src/main/java/com/discord/widgets/auth/WidgetOauth2AuthorizeSamsun...

37 lines
1.7 KiB
Java

package com.discord.widgets.auth;
import com.discord.utilities.captcha.CaptchaHelper;
import com.discord.widgets.auth.WidgetOauth2AuthorizeSamsung;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetOauth2AuthorizeSamsung.kt */
public final class WidgetOauth2AuthorizeSamsung$captchaLauncher$1 extends o implements Function1<CaptchaHelper.CaptchaPayload, Unit> {
public final /* synthetic */ WidgetOauth2AuthorizeSamsung this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetOauth2AuthorizeSamsung$captchaLauncher$1(WidgetOauth2AuthorizeSamsung widgetOauth2AuthorizeSamsung) {
super(1);
this.this$0 = widgetOauth2AuthorizeSamsung;
}
/* 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(CaptchaHelper.CaptchaPayload captchaPayload) {
invoke(captchaPayload);
return Unit.a;
}
public final void invoke(CaptchaHelper.CaptchaPayload captchaPayload) {
m.checkNotNullParameter(captchaPayload, "captchaPayload");
String access$getSamsungAuthCode$p = WidgetOauth2AuthorizeSamsung.access$getSamsungAuthCode$p(this.this$0);
if (access$getSamsungAuthCode$p != null) {
WidgetOauth2AuthorizeSamsung.access$authorizeForSamsung(this.this$0, access$getSamsungAuthCode$p, captchaPayload);
} else {
WidgetOauth2AuthorizeSamsung.Companion.logW$default(WidgetOauth2AuthorizeSamsung.Companion, "auth code not set", null, 2, null);
}
}
}