2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.guilds.invite;
|
|
|
|
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.z.d.m;
|
|
|
|
import c0.z.d.o;
|
2021-08-03 07:33:18 +00:00
|
|
|
import com.discord.api.channel.Channel;
|
|
|
|
import com.discord.models.domain.ModelInvite;
|
|
|
|
import com.discord.widgets.guilds.invite.WidgetGuildInviteShareViewModel;
|
|
|
|
import kotlin.Unit;
|
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* compiled from: WidgetGuildInviteShareViewModel.kt */
|
|
|
|
public final class WidgetGuildInviteShareViewModel$sendInviteToUser$1 extends o implements Function1<Channel, Unit> {
|
|
|
|
public final /* synthetic */ ModelInvite $invite;
|
|
|
|
public final /* synthetic */ WidgetGuildInviteShareViewModel.ViewState.Loaded $viewState;
|
|
|
|
public final /* synthetic */ WidgetGuildInviteShareViewModel this$0;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
|
|
public WidgetGuildInviteShareViewModel$sendInviteToUser$1(WidgetGuildInviteShareViewModel widgetGuildInviteShareViewModel, WidgetGuildInviteShareViewModel.ViewState.Loaded loaded, ModelInvite modelInvite) {
|
|
|
|
super(1);
|
|
|
|
this.this$0 = widgetGuildInviteShareViewModel;
|
|
|
|
this.$viewState = loaded;
|
|
|
|
this.$invite = modelInvite;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 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(Channel channel) {
|
|
|
|
invoke(channel);
|
|
|
|
return Unit.a;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final void invoke(Channel channel) {
|
|
|
|
m.checkNotNullParameter(channel, "channel");
|
|
|
|
this.this$0.sendInviteToChannel(channel.h(), this.$viewState, this.$invite);
|
|
|
|
}
|
|
|
|
}
|