mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
fix: Save as
This commit is contained in:
@@ -44,7 +44,8 @@ open class SaveDatabaseRunnable(
|
||||
|
||||
override fun onActionRun() {
|
||||
database.checkVersion()
|
||||
if (saveDatabase && result.isSuccess) {
|
||||
// Save database in all cases if it's a copy
|
||||
if ((databaseCopyUri != null || saveDatabase) && result.isSuccess) {
|
||||
try {
|
||||
val contentResolver = context.contentResolver
|
||||
// Build temp database file to avoid file corruption if error
|
||||
|
||||
Reference in New Issue
Block a user