private fun updateSyncPreferenceNeedsLogin() { syncPreference.apply { isSwitchWidgetVisible = false title = loggedOffTitle setOnPreferenceChangeListener { _, _ -> onSyncSignInClicked() false } } }
Display that the user can sync across devices when the user is logged off.