0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-02-11 01:18:24 -05:00

slightly lower delay

This commit is contained in:
mertalev 2024-11-08 21:21:56 -05:00
parent 64e23a3b5c
commit dbca16e352
No known key found for this signature in database
GPG key ID: CA85EF6600C9E8AD

View file

@ -256,7 +256,7 @@ class NativeVideoViewerPage extends HookConsumerWidget {
ref.listen(currentAssetProvider, (_, value) { ref.listen(currentAssetProvider, (_, value) {
// Delay the video playback to avoid a stutter in the swipe animation // Delay the video playback to avoid a stutter in the swipe animation
Timer(const Duration(milliseconds: 350), () { Timer(const Duration(milliseconds: 300), () {
if (!context.mounted) { if (!context.mounted) {
return; return;
} }