fenix/app/src/main/java/org/mozilla/fenix/settings/logins/interactor
Ben Dean-Kawamura 34ec442961 Updating Fenix to work with the new logins API
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.
2021-10-14 17:34:20 +00:00
..
AddLoginInteractor.kt Updating Fenix to work with the new logins API 2021-10-14 17:34:20 +00:00
EditLoginInteractor.kt Updating Fenix to work with the new logins API 2021-10-14 17:34:20 +00:00
LoginDetailInteractor.kt For #10173: login duplicates and save (#11208) 2020-07-16 17:08:04 -05:00
SavedLoginsInteractor.kt For #19947: manually add login (#21199) 2021-09-09 16:30:33 +00:00