import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:immich_mobile/entities/asset.entity.dart'; import 'package:immich_mobile/providers/db.provider.dart'; import 'package:isar/isar.dart'; final allMotionPhotosProvider = FutureProvider>((ref) async { return ref .watch(dbProvider) .assets .filter() .livePhotoVideoIdIsNotNull() .findAll(); });