diff --git a/mobile/lib/modules/asset_viewer/hooks/chewiew_controller_hook.dart b/mobile/lib/modules/asset_viewer/hooks/chewiew_controller_hook.dart index 46781eca20..f8736c3fa4 100644 --- a/mobile/lib/modules/asset_viewer/hooks/chewiew_controller_hook.dart +++ b/mobile/lib/modules/asset_viewer/hooks/chewiew_controller_hook.dart @@ -148,8 +148,10 @@ class _ChewieControllerHookState hook.onPaused?.call(); } - if (value.position == value.duration) { + if (value.position != const Duration() && + value.position == value.duration) { WakelockPlus.disable(); + hook.onVideoEnded?.call(); } });