mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
Make findDuplicate() suspend
findLoginToUpdate() should be suspend, but I didn't get mark it that way on the initial logins work. Let's make this one suspend, then I can update findLoginToUpdate() in a-c.
This commit is contained in:
parent
e52000bb20
commit
df953b0021
@ -184,7 +184,7 @@ open class SavedLoginsStorageController(
|
||||
}
|
||||
}
|
||||
|
||||
private fun findDuplicate(entry: LoginEntry, currentGuid: String? = null) {
|
||||
private suspend fun findDuplicate(entry: LoginEntry, currentGuid: String? = null) {
|
||||
// Ensure that we have a valid, non-blank password. The value doesn't
|
||||
// matter for dupe-checking and we want to make sure that
|
||||
// findLoginToUpdate() doesn't throw an error because the [LoginEntry]
|
||||
|
Loading…
Reference in New Issue
Block a user