[mob][photos] Added comment

This commit is contained in:
ashilkn
2024-08-09 21:04:56 +05:30
parent 73c4fd3488
commit 5e7febd8f2

View File

@@ -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(