From d1ffab3e42c597464ec2778763256a1a9e7de69c Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Mon, 26 Aug 2024 19:08:44 -0400 Subject: [PATCH] Only hide gallery controls automatically while playing --- Tusker/Screens/Gallery/VideoGalleryContentViewController.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tusker/Screens/Gallery/VideoGalleryContentViewController.swift b/Tusker/Screens/Gallery/VideoGalleryContentViewController.swift index b45af243..797c72a3 100644 --- a/Tusker/Screens/Gallery/VideoGalleryContentViewController.swift +++ b/Tusker/Screens/Gallery/VideoGalleryContentViewController.swift @@ -216,7 +216,8 @@ class VideoGalleryContentViewController: UIViewController, GalleryContentViewCon if !visible { hideControlsWorkItem?.cancel() - } else if dueToUserInteraction { + } else if dueToUserInteraction, + player.rate > 0 { scheduleControlsHide() } }