Commit Graph

5 Commits (7ab534705a1f43b25bbb0cbeaa2fab238b808fd8)

Author SHA1 Message Date
wpanas 7ab534705a Closes #6236: Fix padding lint issues (#6240) 5 years ago
Mihai Adrian 5d13c53706 Fixes #4440 changed padding for account_preference (#4830)
Changed padding to default value in @android:style/Preference.Material.Category.
Also changed paddingEnd value to default value.
5 years ago
ekager 5edc9d0b4e For #2021 - Update custom preferences' views with email/account changes 5 years ago
Grisha Kruglov fe3c163a20 Fix how we reflect FxA state in preference
This cleans up how we're displaying account state in the main preference UI.
Before when it worked, it worked mostly accidentally.
'launch' wrapper around "update ui" methods would trigger a race condition
between binding the account pref view holder and actually updating that view
with values. Sometimes the "update view with values" would happen after view
was bound, and the UI will be correct. Most of the time it would happen before,
and so there will be nothing to update and we'd get into an inconsistent state.

This also splits up the "accountpreference" into two: account is good,
and account needs re-auth. This greatly simplifies their management.
5 years ago
Sawyer Blatz fe50e88fc8 For #2327: Adds error state syncing 5 years ago