changed directory
This commit is contained in:
parent
be7730f1be
commit
f06cef49a3
@ -585,9 +585,7 @@ private struct PassphraseConfirmationView: View {
|
||||
|
||||
private func verifyDatabasePassphrase(_ dbKey: String) async {
|
||||
do {
|
||||
chatCloseStore()
|
||||
try await testStorageEncryption(key: dbKey)
|
||||
chatReopenStore()
|
||||
migrationState = .uploadConfirmation
|
||||
} catch {
|
||||
showErrorOnMigrationIfNeeded(.errorNotADatabase(dbFile: ""), $alert)
|
||||
|
@ -185,7 +185,7 @@ public func getTempFilesDirectory() -> URL {
|
||||
}
|
||||
|
||||
public func getMigrationTempFilesDirectory() -> URL {
|
||||
getAppDirectory().appendingPathComponent("migration_temp_files", isDirectory: true)
|
||||
getDocumentsDirectory().appendingPathComponent("migration_temp_files", isDirectory: true)
|
||||
}
|
||||
|
||||
public func getAppFilesDirectory() -> URL {
|
||||
|
Loading…
Reference in New Issue
Block a user