Updated text

This commit is contained in:
M66B
2019-09-13 19:38:41 +02:00
parent 35341ad0f7
commit 11712cc15f
5 changed files with 7 additions and 8 deletions

View File

@@ -213,7 +213,7 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
popupMenu.getMenu().add(Menu.NONE, 0, 0, account.name).setEnabled(false);
popupMenu.getMenu().add(Menu.NONE, R.string.title_synchronize_enabled, 1, R.string.title_synchronize_enabled)
popupMenu.getMenu().add(Menu.NONE, R.string.title_enabled, 1, R.string.title_enabled)
.setCheckable(true).setChecked(account.synchronize);
if (account.notify && Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
@@ -231,7 +231,7 @@ public class AdapterAccount extends RecyclerView.Adapter<AdapterAccount.ViewHold
@Override
public boolean onMenuItemClick(MenuItem item) {
switch (item.getItemId()) {
case R.string.title_synchronize_enabled:
case R.string.title_enabled:
onActionSync(!item.isChecked());
return true;