π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] UX improvements on native video player
ashilknc079ed12ca7a
diff --git a/mobile/lib/ui/viewer/file/video_widget_native.dart b/mobile/lib/ui/viewer/file/video_widget_native.dartindex dfe95a4e5b..f0552e128a 100644--- a/mobile/lib/ui/viewer/file/video_widget_native.dart+++ b/mobile/lib/ui/viewer/file/video_widget_native.dart@@ -410,10 +410,13 @@ class _VideoWidgetNativeState extends State<VideoWidgetNative>void _isSeekingListener() {if (!_isSeeking.value &&_controller?.playbackInfo?.status == PlaybackStatus.playing) {- Future.delayed(const Duration(milliseconds: 1500), () {+ Future.delayed(const Duration(milliseconds: 2000), () {if (mounted) {if (_isSeeking.value) return;_showControls.value = false;+ if (Platform.isIOS) {+ widget.playbackCallback!(true);+ }}});}@@ -427,7 +430,7 @@ class _VideoWidgetNativeState extends State<VideoWidgetNative>}if (_controller!.playbackInfo?.status == PlaybackStatus.playing) {if (widget.playbackCallback != null && mounted) {- Future.delayed(const Duration(milliseconds: 1500), () {+ Future.delayed(const Duration(milliseconds: 2000), () {if (mounted) {if (_isSeeking.value) return;_showControls.value = false;