34ec442961
Switched to always using `Login` instead of the `SavedPassword` alias. Made `MasterPasswordTipProvider.saveLogins()` call `importLoginsAsync()`. This is needed because it's the only method that inputs a `Login` rather than a `LoginEntry`. Moved the `SavedLoginsStorageController.kt.syncAndUpdateList` call to inside `add()` and `update()`. This simplifies the error handling a bit. Refactored dupe-checking code to use findLoginToUpdate() Refactored `AddLoginFragment` / `EditLoginFragment` to put the username error handling code all in 1 method. I think it's easier to follow the logic of showing/hiding the error labels when it's all in one place. This fixes issues #24103 and #24104. I would love to address #24102, but I'm not sure what the correct behavior is there so I just kept that the same. |
||
---|---|---|
.. | ||
AddLoginInteractor.kt | ||
EditLoginInteractor.kt | ||
LoginDetailInteractor.kt | ||
SavedLoginsInteractor.kt |