mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
fix(mobile): video icon not showing on memories (#27311)
This commit is contained in:
@@ -207,6 +207,11 @@ class DriftMemoryPage extends HookConsumerWidget {
|
|||||||
WidgetsBinding.instance.addPostFrameCallback((_) {
|
WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||||
DriftMemoryPage.setMemory(ref, memories[pageNumber]);
|
DriftMemoryPage.setMemory(ref, memories[pageNumber]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Update currentAsset to the first asset of the new memory
|
||||||
|
if (memories[pageNumber].assets.isNotEmpty) {
|
||||||
|
currentAsset.value = memories[pageNumber].assets.first;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
currentAssetPage.value = 0;
|
currentAssetPage.value = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user