mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
fix: indicators popping in due to z height change of hero animation (fade in instead after animation)
This commit is contained in:
@@ -25,6 +25,14 @@ class CurrentAssetNotifier extends AutoDisposeNotifier<BaseAsset?> {
|
||||
_keepAliveLink = ref.keepAlive();
|
||||
}
|
||||
|
||||
void clearAsset() {
|
||||
_keepAliveLink?.close();
|
||||
_assetSubscription?.cancel();
|
||||
_keepAliveLink = null;
|
||||
_assetSubscription = null;
|
||||
state = null;
|
||||
}
|
||||
|
||||
void dispose() {
|
||||
_keepAliveLink?.close();
|
||||
_assetSubscription?.cancel();
|
||||
|
||||
Reference in New Issue
Block a user