This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep device language when it has been previosuly set, after a success…
…ful delegated authentication flow that clears localStorage (#11902) * Do not remove the language when clearing local storage Signed-off-by: Milton Moura <[email protected]> * Revised comment on getting the defined language from settings Signed-off-by: Milton Moura <[email protected]> * Explicitly checking for language set at the device level Signed-off-by: Milton Moura <[email protected]> * Add test that checks if device language setting is kept after a successfull delegated authentication flow Signed-off-by: Milton Moura <[email protected]> * Adds test for unhappy path and adjusts to use the SettingsStore instead of going directly to localStorage Signed-off-by: Milton Moura <[email protected]> * Removing unnecessary variable after test refactor Signed-off-by: Milton Moura <[email protected]> --------- Signed-off-by: Milton Moura <[email protected]>
- Loading branch information