34 lines
1.5 KiB
Java
34 lines
1.5 KiB
Java
package com.discord.widgets.settings.profile;
|
|
|
|
import com.discord.utilities.error.Error;
|
|
import com.discord.widgets.settings.profile.SettingsUserProfileViewModel;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
import rx.subjects.PublishSubject;
|
|
/* compiled from: SettingsUserProfileViewModel.kt */
|
|
public final class SettingsUserProfileViewModel$saveUserChanges$1 extends o implements Function1<Error, Unit> {
|
|
public final /* synthetic */ SettingsUserProfileViewModel this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public SettingsUserProfileViewModel$saveUserChanges$1(SettingsUserProfileViewModel settingsUserProfileViewModel) {
|
|
super(1);
|
|
this.this$0 = settingsUserProfileViewModel;
|
|
}
|
|
|
|
/* 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(Error error) {
|
|
invoke(error);
|
|
return Unit.a;
|
|
}
|
|
|
|
public final void invoke(Error error) {
|
|
m.checkNotNullParameter(error, "it");
|
|
PublishSubject access$getEventSubject$p = SettingsUserProfileViewModel.access$getEventSubject$p(this.this$0);
|
|
access$getEventSubject$p.j.onNext(SettingsUserProfileViewModel.Event.UserUpdateRequestCompleted.INSTANCE);
|
|
}
|
|
}
|