33 lines
1.6 KiB
Java
33 lines
1.6 KiB
Java
|
package com.discord.widgets.hubs;
|
||
|
|
||
|
import com.discord.api.hubs.EmailVerification;
|
||
|
import com.discord.stores.utilities.RestCallState;
|
||
|
import d0.z.d.m;
|
||
|
import d0.z.d.o;
|
||
|
import kotlin.Unit;
|
||
|
import kotlin.jvm.functions.Function1;
|
||
|
/* compiled from: DiscordHubEmailViewModel.kt */
|
||
|
public final class DiscordHubEmailViewModel$submitEmail$1 extends o implements Function1<RestCallState<? extends EmailVerification>, Unit> {
|
||
|
public final /* synthetic */ DiscordHubEmailViewModel this$0;
|
||
|
|
||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||
|
public DiscordHubEmailViewModel$submitEmail$1(DiscordHubEmailViewModel discordHubEmailViewModel) {
|
||
|
super(1);
|
||
|
this.this$0 = discordHubEmailViewModel;
|
||
|
}
|
||
|
|
||
|
/* 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(RestCallState<? extends EmailVerification> restCallState) {
|
||
|
invoke((RestCallState<EmailVerification>) restCallState);
|
||
|
return Unit.a;
|
||
|
}
|
||
|
|
||
|
public final void invoke(RestCallState<EmailVerification> restCallState) {
|
||
|
m.checkNotNullParameter(restCallState, "it");
|
||
|
DiscordHubEmailViewModel discordHubEmailViewModel = this.this$0;
|
||
|
DiscordHubEmailViewModel.access$updateViewState(discordHubEmailViewModel, DiscordHubEmailState.copy$default(DiscordHubEmailViewModel.access$requireViewState(discordHubEmailViewModel), null, restCallState, 1, null));
|
||
|
}
|
||
|
}
|