mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-02 14:02:17 -05:00
Remove text selection menu item for JB and higher.
Those versions have text selection support built-in (via long pressing the WebView).
This commit is contained in:
parent
2ea0961006
commit
728c1bdabe
@ -978,6 +978,9 @@ public class MessageList extends K9FragmentActivity implements MessageListFragme
|
|||||||
|
|
||||||
menu.findItem(R.id.copy).setVisible(mMessageViewFragment.isCopyCapable());
|
menu.findItem(R.id.copy).setVisible(mMessageViewFragment.isCopyCapable());
|
||||||
|
|
||||||
|
// Jellybean has built-in long press selection support
|
||||||
|
menu.findItem(R.id.select_text).setVisible(Build.VERSION.SDK_INT < 16);
|
||||||
|
|
||||||
if (mMessageViewFragment.isMoveCapable()) {
|
if (mMessageViewFragment.isMoveCapable()) {
|
||||||
menu.findItem(R.id.move).setVisible(true);
|
menu.findItem(R.id.move).setVisible(true);
|
||||||
menu.findItem(R.id.archive).setVisible(mMessageViewFragment.canMessageBeArchived());
|
menu.findItem(R.id.archive).setVisible(mMessageViewFragment.canMessageBeArchived());
|
||||||
|
Loading…
Reference in New Issue
Block a user