You've already forked immich
							
							
				mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-31 00:18:28 +02:00 
			
		
		
		
	chore(mobile): handle delete file error (#5827)
This commit is contained in:
		| @@ -394,8 +394,12 @@ class BackupService { | ||||
|         continue; | ||||
|       } finally { | ||||
|         if (Platform.isIOS) { | ||||
|           file?.deleteSync(); | ||||
|           livePhotoFile?.deleteSync(); | ||||
|           try { | ||||
|             await file?.delete(); | ||||
|             await livePhotoFile?.delete(); | ||||
|           } catch (e) { | ||||
|             debugPrint("ERROR deleting file: ${e.toString()}"); | ||||
|           } | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user