39 lines
1.7 KiB
Java
39 lines
1.7 KiB
Java
package com.discord.widgets.settings.premium;
|
|
|
|
import com.discord.i18n.RenderContext;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import java.text.NumberFormat;
|
|
import java.util.Map;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: WidgetSettingsPremium.kt */
|
|
public final class WidgetSettingsPremium$onViewBound$2 extends o implements Function1<RenderContext, Unit> {
|
|
public final /* synthetic */ NumberFormat $numberFormat;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WidgetSettingsPremium$onViewBound$2(NumberFormat numberFormat) {
|
|
super(1);
|
|
this.$numberFormat = numberFormat;
|
|
}
|
|
|
|
/* 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");
|
|
Map<String, String> map = renderContext.a;
|
|
String format = this.$numberFormat.format((Object) 100);
|
|
m.checkNotNullExpressionValue(format, "numberFormat.format(Prem…_NON_PREMIUM_GUILD_COUNT)");
|
|
map.put("nonPremiumMaxGuilds", format);
|
|
Map<String, String> map2 = renderContext.a;
|
|
String format2 = this.$numberFormat.format((Object) 200);
|
|
m.checkNotNullExpressionValue(format2, "numberFormat.format(Prem….MAX_PREMIUM_GUILD_COUNT)");
|
|
map2.put("premiumMaxGuilds", format2);
|
|
}
|
|
}
|