High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(mobile): streamline error handling for live photo saving (#27337)
Luis Nachtigalla277c6311f63
diff --git a/mobile/lib/services/download.service.dart b/mobile/lib/services/download.service.dartindex 7d2cf01b7c..8e810ced2a 100644--- a/mobile/lib/services/download.service.dart+++ b/mobile/lib/services/download.service.dart@@ -109,7 +109,7 @@ class DownloadService {return result != null;} on PlatformException catch (error, stack) {// Handle saving MotionPhotos on iOS- if (error.code == 'PHPhotosErrorDomain (-1)') {+ if (error.code.startsWith('PHPhotosErrorDomain')) {final result = await _fileMediaRepository.saveImageWithFile(imageFilePath, title: task.filename);return result != null;}