Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Added comment

ashilkn5e7febd8f278
diff --git a/mobile/lib/ui/viewer/file/video_widget_native.dart b/mobile/lib/ui/viewer/file/video_widget_native.dart
index df5377dd4c..79049af597 100644
--- a/mobile/lib/ui/viewer/file/video_widget_native.dart
+++ b/mobile/lib/ui/viewer/file/video_widget_native.dart
@@ -177,6 +177,8 @@ class _VideoWidgetNativeState extends State<VideoWidgetNative>
duration: const Duration(milliseconds: 750),
switchOutCurve: Curves.easeOutExpo,
switchInCurve: Curves.easeInExpo,
+ //Loading two high-res potrait videos together causes one to
+ //go blank. So only loading video when it is completely visible.
child: !_isCompletelyVisible || _filePath == null
? _getLoadingWidget()
: Stack(