Fix messaging for sync now feature, when no account is selected

Change-Id: I5e81b7a1eed9c2177ad3ddfa6c96c2b85c433766
main
Jatin Matani 2014-10-08 15:26:39 -07:00
parent 847735fdfa
commit f66a6a3bb0
1 changed files with 2 additions and 2 deletions

View File

@ -157,10 +157,10 @@ public final class AccountsSettingsFragment extends SubScreenFragment {
final String currentAccount = getCurrentlySelectedAccount(); final String currentAccount = getCurrentlySelectedAccount();
if (currentAccount == null) { if (currentAccount == null) {
syncNowPreference.setEnabled(false); syncNowPreference.setEnabled(false);
syncNowPreference.setSummary(R.string.sync_now_summary); syncNowPreference.setSummary(R.string.sync_now_summary_disabled_signed_out);
} else { } else {
syncNowPreference.setEnabled(true); syncNowPreference.setEnabled(true);
syncNowPreference.setSummary(R.string.sync_now_summary_disabled_signed_out); syncNowPreference.setSummary(R.string.sync_now_summary);
} }
} }