discord-jadx/app/src/main/java/c/a/z/i0/g.java

30 lines
1.1 KiB
Java

package c.a.z.i0;
import android.graphics.Bitmap;
import com.discord.stores.StoreVoiceParticipants;
import com.discord.utilities.colors.RepresentativeColorsKt;
import d0.z.d.m;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: StageCallSpeakerView.kt */
public final class g extends o implements Function1<Bitmap, Unit> {
public final /* synthetic */ StoreVoiceParticipants.VoiceUser $voiceUser;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public g(StoreVoiceParticipants.VoiceUser voiceUser) {
super(1);
this.$voiceUser = voiceUser;
}
/* 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 Unit invoke(Bitmap bitmap) {
Bitmap bitmap2 = bitmap;
m.checkNotNullParameter(bitmap2, "bitmap");
RepresentativeColorsKt.getUserRepresentativeColors().handleBitmap(Long.valueOf(this.$voiceUser.getUser().getId()), bitmap2);
return Unit.a;
}
}