[fenix] 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.
pull/600/head
Ben Dean-Kawamura 3 years ago committed by mergify[bot]
parent 31a6d88939
commit a8bce7b4f8

@ -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…
Cancel
Save