mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-05 14:57:42 +00:00
ios: exclude app data from backup before deleting or importing the database
This commit is contained in:
1 parent
2fd9e7fa41
commit
f91406b68e
1 file changed
+1
@@ -558,6 +558,7 @@ struct DatabaseView: View {
|
||||
progressIndicator.wrappedValue = true
|
||||
}
|
||||
do {
|
||||
excludeAppDataFromBackup(true)
|
||||
try await apiDeleteStorage()
|
||||
try? FileManager.default.createDirectory(at: getWallpaperDirectory(), withIntermediateDirectories: true)
|
||||
do {
|
||||
|
||||
Reference in new issue
Block a user