2021-08-26 06:35:19 +00:00
|
|
|
package com.discord.widgets.guilds.profile;
|
|
|
|
|
2021-11-02 06:38:17 +00:00
|
|
|
import com.discord.api.guildmember.GuildMember;
|
2021-08-26 06:35:19 +00:00
|
|
|
import com.discord.widgets.guilds.profile.WidgetChangeGuildIdentityViewModel;
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.z.d.m;
|
|
|
|
import d0.z.d.o;
|
2021-08-26 06:35:19 +00:00
|
|
|
import kotlin.Unit;
|
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
import rx.subjects.PublishSubject;
|
|
|
|
/* compiled from: WidgetChangeGuildIdentityViewModel.kt */
|
2021-11-02 06:38:17 +00:00
|
|
|
public final class WidgetChangeGuildIdentityViewModel$saveMemberChanges$2 extends o implements Function1<GuildMember, Unit> {
|
2021-08-26 06:35:19 +00:00
|
|
|
public final /* synthetic */ WidgetChangeGuildIdentityViewModel.ViewState.Loaded $viewState;
|
|
|
|
public final /* synthetic */ WidgetChangeGuildIdentityViewModel this$0;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
|
|
public WidgetChangeGuildIdentityViewModel$saveMemberChanges$2(WidgetChangeGuildIdentityViewModel widgetChangeGuildIdentityViewModel, WidgetChangeGuildIdentityViewModel.ViewState.Loaded loaded) {
|
|
|
|
super(1);
|
|
|
|
this.this$0 = widgetChangeGuildIdentityViewModel;
|
|
|
|
this.$viewState = loaded;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 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
|
2021-11-02 06:38:17 +00:00
|
|
|
public /* bridge */ /* synthetic */ Unit invoke(GuildMember guildMember) {
|
|
|
|
invoke(guildMember);
|
2021-08-26 06:35:19 +00:00
|
|
|
return Unit.a;
|
|
|
|
}
|
|
|
|
|
2021-11-02 06:38:17 +00:00
|
|
|
public final void invoke(GuildMember guildMember) {
|
|
|
|
m.checkNotNullParameter(guildMember, "it");
|
2021-08-26 06:35:19 +00:00
|
|
|
PublishSubject access$getEventSubject$p = WidgetChangeGuildIdentityViewModel.access$getEventSubject$p(this.this$0);
|
2021-12-02 18:53:44 +00:00
|
|
|
access$getEventSubject$p.k.onNext(WidgetChangeGuildIdentityViewModel.Event.MemberUpdateSucceeded.INSTANCE);
|
2021-09-08 06:41:51 +00:00
|
|
|
WidgetChangeGuildIdentityViewModel.access$updateViewState(this.this$0, WidgetChangeGuildIdentityViewModel.ViewState.Loaded.copy$default(this.$viewState, null, null, null, false, null, null, false, 63, null));
|
2021-08-26 06:35:19 +00:00
|
|
|
}
|
|
|
|
}
|