package com.discord.widgets.voice.controls; import android.view.View; import androidx.fragment.app.FragmentManager; import com.discord.widgets.voice.controls.WidgetScreenShareNfxSheet; import com.discord.widgets.voice.sheet.WidgetVoiceBottomSheet; import kotlin.jvm.functions.Function0; /* compiled from: AnchoredVoiceControlsView.kt */ public final class AnchoredVoiceControlsView$configureScreenShareButtonSparkle$1 implements View.OnClickListener { public final /* synthetic */ long $channelId; public final /* synthetic */ WidgetVoiceBottomSheet.FeatureContext $featureContext; public final /* synthetic */ boolean $forwardToFullscreenIfVideoActivated; public final /* synthetic */ FragmentManager $fragmentManager; public final /* synthetic */ Function0 $onNavigateToScreenShareNfxSheet; public final /* synthetic */ Function0 $onScreenSharePressed; public final /* synthetic */ AnchoredVoiceControlsView this$0; public AnchoredVoiceControlsView$configureScreenShareButtonSparkle$1(AnchoredVoiceControlsView anchoredVoiceControlsView, FragmentManager fragmentManager, long j, boolean z2, WidgetVoiceBottomSheet.FeatureContext featureContext, Function0 function0, Function0 function02) { this.this$0 = anchoredVoiceControlsView; this.$fragmentManager = fragmentManager; this.$channelId = j; this.$forwardToFullscreenIfVideoActivated = z2; this.$featureContext = featureContext; this.$onNavigateToScreenShareNfxSheet = function0; this.$onScreenSharePressed = function02; } @Override // android.view.View.OnClickListener public final void onClick(View view) { AnchoredVoiceControlsView.access$getTooltipManager$p(this.this$0).a(ScreenShareButtonSparkleTooltip.INSTANCE); WidgetScreenShareNfxSheet.Companion companion = WidgetScreenShareNfxSheet.Companion; if (companion.canShow()) { companion.show(this.$fragmentManager, this.$channelId, new WidgetScreenShareNfxSheet.VoiceBottomSheetParams(this.$forwardToFullscreenIfVideoActivated, this.$featureContext)); this.$onNavigateToScreenShareNfxSheet.mo1invoke(); return; } this.$onScreenSharePressed.mo1invoke(); } }