discord-jadx/app/src/main/java/com/discord/stores/StoreCalls$call$1.java

33 lines
1.2 KiB
Java

package com.discord.stores;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: StoreCalls.kt */
public final class StoreCalls$call$1 extends o implements Function1<Boolean, Unit> {
public final /* synthetic */ long $channelId;
public final /* synthetic */ StoreCalls this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreCalls$call$1(StoreCalls storeCalls, long j) {
super(1);
this.this$0 = storeCalls;
this.$channelId = j;
}
/* 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.booleanValue());
return Unit.a;
}
public final void invoke(boolean z2) {
StoreCalls.access$getStream$p(this.this$0).getVoiceChannelSelected$app_productionBetaRelease().selectVoiceChannel(this.$channelId);
if (z2) {
StoreCalls.ring$default(this.this$0, this.$channelId, null, 2, null);
}
}
}