mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix(mobile): properly handle live photos locally (#29462)
* fix(mobile): properly handle live photos locally * Added basic motion photo data tests * Cover mismatched platforms and motion photos * Revert unnecessary storage.repository changes --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
daabab8c1c
commit
a225c962de
9 changed files with 110 additions and 31 deletions
|
|
@ -297,8 +297,7 @@ class _AssetTypeIcons extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final remoteAsset = asset is RemoteAsset ? asset as RemoteAsset : null;
|
||||
final isLivePhoto = remoteAsset?.livePhotoVideoId != null;
|
||||
final isLivePhoto = asset.isMotionPhoto;
|
||||
|
||||
return Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue