Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d391b48 authored by Yorke Lee's avatar Yorke Lee
Browse files

Hide "Clear frequents" setting instead of just disabling it

Change-Id: I9d9a4ecd958c1a1d83906388bb1cc25339278011
parent 7b3b10b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -368,7 +368,7 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O
                final Menu menu = popupMenu.getMenu();
                popupMenu.inflate(R.menu.dialtacts_options);
                final MenuItem clearFrequents = menu.findItem(R.id.menu_clear_frequents);
                clearFrequents.setEnabled(mPhoneFavoriteFragment.hasFrequents());
                clearFrequents.setVisible(mPhoneFavoriteFragment.hasFrequents());
                popupMenu.setOnMenuItemClickListener(this);
                popupMenu.show();
                break;