From 89dbdc99a055bb69ff891be98fb0dac7ef09c828 Mon Sep 17 00:00:00 2001 From: Koen J Date: Thu, 20 Nov 2025 15:24:41 +0100 Subject: [PATCH] Fixed issue where audio mode toggle wouldn't work properly when coming back into app while in a playlist. --- .../com/futo/platformplayer/views/video/FutoVideoPlayerBase.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/futo/platformplayer/views/video/FutoVideoPlayerBase.kt b/app/src/main/java/com/futo/platformplayer/views/video/FutoVideoPlayerBase.kt index 846471f1..0404e463 100644 --- a/app/src/main/java/com/futo/platformplayer/views/video/FutoVideoPlayerBase.kt +++ b/app/src/main/java/com/futo/platformplayer/views/video/FutoVideoPlayerBase.kt @@ -923,7 +923,7 @@ abstract class FutoVideoPlayerBase : RelativeLayout { @OptIn(UnstableApi::class) private fun loadSelectedSources(play: Boolean, resume: Boolean): Boolean { - val sourceVideo = if(!isAudioMode || _lastAudioMediaSource == null) _lastVideoMediaSource else null; + val sourceVideo = _lastVideoMediaSource; val sourceAudio = _lastAudioMediaSource; val sourceSubs = _lastSubtitleMediaSource;