2021-08-18 06:27:30 +00:00
|
|
|
package com.discord.widgets.guilds.invite;
|
|
|
|
|
|
|
|
import com.discord.i18n.RenderContext;
|
|
|
|
import com.discord.models.user.MeUser;
|
|
|
|
import com.discord.utilities.user.UserUtils;
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.z.d.m;
|
|
|
|
import d0.z.d.o;
|
2021-08-18 06:27:30 +00:00
|
|
|
import kotlin.Unit;
|
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* compiled from: WidgetInviteInfo.kt */
|
|
|
|
public final class WidgetInviteInfo$configureUIFailure$1 extends o implements Function1<RenderContext, Unit> {
|
|
|
|
public final /* synthetic */ MeUser $meUser;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
|
|
public WidgetInviteInfo$configureUIFailure$1(MeUser meUser) {
|
|
|
|
super(1);
|
|
|
|
this.$meUser = meUser;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 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(RenderContext renderContext) {
|
|
|
|
invoke(renderContext);
|
|
|
|
return Unit.a;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final void invoke(RenderContext renderContext) {
|
|
|
|
m.checkNotNullParameter(renderContext, "$receiver");
|
|
|
|
renderContext.a.put("quantity", String.valueOf(UserUtils.INSTANCE.isPremiumTier2(this.$meUser) ? 200 : 100));
|
|
|
|
}
|
|
|
|
}
|