From 123119ca0d6ed3e56ac2f005004d4c4614397d52 Mon Sep 17 00:00:00 2001 From: Thomas <9749173+uhthomas@users.noreply.github.com> Date: Sat, 4 Apr 2026 22:25:40 +0100 Subject: [PATCH] chore(mobile): reduce buffering timer duration (#27111) 3 seconds is too long for some people, and it can be confusing to see the video not playing and no indication that it's buffering. Reducing the duration of the timer should show the spinner faster and prevent confusion. Co-authored-by: Alex --- mobile/lib/providers/asset_viewer/video_player_provider.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/lib/providers/asset_viewer/video_player_provider.dart b/mobile/lib/providers/asset_viewer/video_player_provider.dart index a4a8bd1762..8093926873 100644 --- a/mobile/lib/providers/asset_viewer/video_player_provider.dart +++ b/mobile/lib/providers/asset_viewer/video_player_provider.dart @@ -226,7 +226,7 @@ class VideoPlayerNotifier extends StateNotifier { void _startBufferingTimer() { _bufferingTimer?.cancel(); - _bufferingTimer = Timer(const Duration(seconds: 3), () { + _bufferingTimer = Timer(const Duration(seconds: 1), () { if (mounted && state.status != VideoPlaybackStatus.completed) { state = state.copyWith(status: VideoPlaybackStatus.buffering); }