2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-02 03:40:16 +00:00
iceraven-browser/app
Grisha Kruglov b68bdd9f99 [fenix] 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.
2019-06-05 14:38:06 -07:00
..
src [fenix] Fix how we reflect FxA state in preference 2019-06-05 14:38:06 -07:00
.gitignore [fenix] Initializes Android project 2018-12-07 15:25:38 -05:00
build.gradle [fenix] Adds IDE documentation for gradle versionName error 2019-06-05 15:15:03 -04:00
lint.xml [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/1890 - Remove unused strings (https://github.com/mozilla-mobile/fenix/pull/1891) 2019-04-22 11:24:49 -07:00
metrics.yaml [fenix] For https://github.com/mozilla-mobile/fenix/issues/1190: Removes syncing items from FxA telemetry 2019-06-05 13:57:18 -07:00
pings.yaml [fenix] Add pings.yaml metadata 2019-05-20 13:26:40 -07:00
proguard-rules.pro [fenix] Fix https://github.com/mozilla-mobile/fenix/issues/2612: Force PG to keep kotlinx coroutines 2019-05-22 11:13:31 -07:00