mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-30 05:43:00 -08:00
Fix #331 Crash if "Save keyfile" setting is unchecked
This commit is contained in:
1 parent
f04c2ee1da
commit
4e06842d0f
1 file changed
+1
-1
@@ -19,7 +19,7 @@ interface FileDatabaseHistoryDao {
|
||||
@Delete
|
||||
fun delete(fileDatabaseHistory: FileDatabaseHistoryEntity): Int
|
||||
|
||||
@Query("REPLACE INTO file_database_history(keyfile_uri) VALUES(null)")
|
||||
@Query("UPDATE file_database_history SET keyfile_uri=null")
|
||||
fun deleteAllKeyFiles()
|
||||
|
||||
@Query("DELETE FROM file_database_history")
|
||||
|
||||
Reference in new issue
Block a user