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:
parent
64e23a3b5c
commit
dbca16e352
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue