mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix #331 Crash if "Save keyfile" setting is unchecked
This commit is contained in:
@@ -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