mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix: brief flashing when swiping from video (#22187)
This commit is contained in:
parent
265ed0b38f
commit
54ed78d0bf
1 changed files with 3 additions and 0 deletions
|
|
@ -322,6 +322,9 @@ class NativeVideoViewer extends HookConsumerWidget {
|
||||||
removeListeners(playerController);
|
removeListeners(playerController);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (value != null) {
|
||||||
|
isVisible.value = _isCurrentAsset(value, asset);
|
||||||
|
}
|
||||||
final curAsset = currentAsset.value;
|
final curAsset = currentAsset.value;
|
||||||
if (curAsset == asset) {
|
if (curAsset == asset) {
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue