23 lines
838 B
Java
23 lines
838 B
Java
|
package com.discord.widgets.user.search;
|
||
|
|
||
|
import com.discord.models.user.User;
|
||
|
import com.discord.utilities.user.UserUtils;
|
||
|
import d0.z.d.m;
|
||
|
import d0.z.d.o;
|
||
|
import kotlin.jvm.functions.Function1;
|
||
|
/* compiled from: ViewGlobalSearchItem.kt */
|
||
|
public final class ViewGlobalSearchItem$onConfigure$2 extends o implements Function1<User, CharSequence> {
|
||
|
public final /* synthetic */ int $discrimColor;
|
||
|
|
||
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
||
|
public ViewGlobalSearchItem$onConfigure$2(int i) {
|
||
|
super(1);
|
||
|
this.$discrimColor = i;
|
||
|
}
|
||
|
|
||
|
public final CharSequence invoke(User user) {
|
||
|
m.checkNotNullParameter(user, "user");
|
||
|
return UserUtils.INSTANCE.getUserNameWithDiscriminator(user, Integer.valueOf(this.$discrimColor), Float.valueOf(0.75f));
|
||
|
}
|
||
|
}
|