1
0
Fork 0

For #2327: Fix early return from displayAccountError

master
Sawyer Blatz 2019-05-30 13:00:34 -07:00
parent 7fff475fd8
commit 5e0771a6f0
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ class SettingsFragment : PreferenceFragmentCompat(), CoroutineScope, AccountObse
private fun displayAccountErrorIfNecessary() {
launch {
context?.let { context ->
if (context.components.backgroundServices.accountManager.accountNeedsReauth()) { return@launch }
if (!context.components.backgroundServices.accountManager.accountNeedsReauth()) { return@launch }
val preferenceFirefoxAccount =
findPreference<AccountPreference>(context.getPreferenceKey(pref_key_account))