discord-jadx/app/src/main/java/com/discord/widgets/guilds/join/WidgetGuildJoinCaptchaBotto...

34 lines
1.4 KiB
Java

package com.discord.widgets.guilds.join;
import com.discord.app.AppActivity;
import com.discord.utilities.captcha.CaptchaHelper;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: WidgetGuildJoinCaptchaBottomSheet.kt */
public final class WidgetGuildJoinCaptchaBottomSheet$openCaptcha$1 extends o implements Function1<String, Unit> {
public final /* synthetic */ WidgetGuildJoinCaptchaBottomSheet this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetGuildJoinCaptchaBottomSheet$openCaptcha$1(WidgetGuildJoinCaptchaBottomSheet widgetGuildJoinCaptchaBottomSheet) {
super(1);
this.this$0 = widgetGuildJoinCaptchaBottomSheet;
}
/* 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) {
CaptchaHelper.INSTANCE.setCaptchaToken(str);
AppActivity appActivity = this.this$0.getAppActivity();
if (appActivity != null) {
WidgetGuildJoinCaptchaBottomSheet.access$finishIfCaptchaTokenReceived(this.this$0, appActivity);
}
}
}