forked from Juby210/discord-jadx
33 lines
1.3 KiB
Java
33 lines
1.3 KiB
Java
package com.discord.widgets.guilds.invite;
|
|
|
|
import com.discord.i18n.RenderContext;
|
|
import com.discord.models.user.MeUser;
|
|
import com.discord.utilities.user.UserUtils;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
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));
|
|
}
|
|
}
|