forked from Juby210/discord-jadx
36 lines
1.6 KiB
Java
36 lines
1.6 KiB
Java
package com.discord.widgets.auth;
|
|
|
|
import c0.z.d.m;
|
|
import c0.z.d.o;
|
|
import com.discord.widgets.auth.WidgetOauth2AuthorizeSamsung;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetOauth2AuthorizeSamsung.kt */
|
|
public final class WidgetOauth2AuthorizeSamsung$captchaLauncher$1 extends o implements Function1<String, 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(String str) {
|
|
invoke(str);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(String str) {
|
|
m.checkNotNullParameter(str, "token");
|
|
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, str);
|
|
} else {
|
|
WidgetOauth2AuthorizeSamsung.Companion.logW$default(WidgetOauth2AuthorizeSamsung.Companion, "auth code not set", null, 2, null);
|
|
}
|
|
}
|
|
}
|