38 lines
1.8 KiB
Java
38 lines
1.8 KiB
Java
package com.discord.widgets.servers;
|
|
|
|
import com.discord.api.guild.VanityUrlResponse;
|
|
import com.discord.app.AppFragment;
|
|
import com.discord.utilities.stateful.StatefulViews;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetServerSettingsVanityUrl.kt */
|
|
public final class WidgetServerSettingsVanityUrl$updateVanityUrl$1 extends o implements Function1<VanityUrlResponse, Unit> {
|
|
public final /* synthetic */ WidgetServerSettingsVanityUrl this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetServerSettingsVanityUrl$updateVanityUrl$1(WidgetServerSettingsVanityUrl widgetServerSettingsVanityUrl) {
|
|
super(1);
|
|
this.this$0 = widgetServerSettingsVanityUrl;
|
|
}
|
|
|
|
/* 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(VanityUrlResponse vanityUrlResponse) {
|
|
invoke(vanityUrlResponse);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(VanityUrlResponse vanityUrlResponse) {
|
|
m.checkNotNullParameter(vanityUrlResponse, "<name for destructuring parameter 0>");
|
|
String a = vanityUrlResponse.a();
|
|
int b = vanityUrlResponse.b();
|
|
WidgetServerSettingsVanityUrl.access$showLoadingUI(this.this$0, false);
|
|
AppFragment.hideKeyboard$default(this.this$0, null, 1, null);
|
|
WidgetServerSettingsVanityUrl.access$configureInviteCode(this.this$0, a, b);
|
|
StatefulViews.clear$default(WidgetServerSettingsVanityUrl.access$getState$p(this.this$0), false, 1, null);
|
|
}
|
|
}
|