discord-jadx/app/src/main/java/com/discord/widgets/user/presence/ViewHolderPlatformRichPrese...

33 lines
1.3 KiB
Java

package com.discord.widgets.user.presence;
import android.widget.Button;
import androidx.core.view.ViewKt;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: ViewHolderPlatformRichPresence.kt */
public final class ViewHolderPlatformRichPresence$configureUi$3 extends o implements Function1<Boolean, Unit> {
public final /* synthetic */ ViewHolderPlatformRichPresence this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public ViewHolderPlatformRichPresence$configureUi$3(ViewHolderPlatformRichPresence viewHolderPlatformRichPresence) {
super(1);
this.this$0 = viewHolderPlatformRichPresence;
}
/* 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(Boolean bool) {
invoke(bool);
return Unit.a;
}
public final void invoke(Boolean bool) {
Button richPresencePrimaryButton = this.this$0.getRichPresencePrimaryButton();
if (richPresencePrimaryButton != null) {
ViewKt.setVisible(richPresencePrimaryButton, !bool.booleanValue());
}
}
}