discord-jadx/app/src/main/java/com/discord/widgets/voice/fullscreen/WidgetCallFullscreen$onView...

32 lines
1.4 KiB
Java

package com.discord.widgets.voice.fullscreen;
import b.a.d.m;
import com.discord.R;
import com.discord.api.channel.Channel;
import com.discord.widgets.chat.list.TextInVoiceFeatureFlag;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
/* compiled from: WidgetCallFullscreen.kt */
public final class WidgetCallFullscreen$onViewBound$3 extends o implements Function0<Unit> {
public final /* synthetic */ Channel $channel;
public final /* synthetic */ WidgetCallFullscreen this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public WidgetCallFullscreen$onViewBound$3(WidgetCallFullscreen widgetCallFullscreen, Channel channel) {
super(0);
this.this$0 = widgetCallFullscreen;
this.$channel = channel;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
m.g(this.this$0.getContext(), R.string.permission_microphone_denied, 0, null, 12);
WidgetCallFullscreen widgetCallFullscreen = this.this$0;
TextInVoiceFeatureFlag instance = TextInVoiceFeatureFlag.Companion.getINSTANCE();
Channel channel = this.$channel;
WidgetCallFullscreen.finishActivity$default(widgetCallFullscreen, false, instance.isEnabled(channel != null ? Long.valueOf(channel.f()) : null), 1, null);
}
}