mirror of https://github.com/M66B/FairEmail.git
Disable search in thread view in favor of text zoom
This commit is contained in:
parent
abd1dab0de
commit
2d38843944
|
@ -1651,7 +1651,8 @@ public class FragmentMessages extends FragmentBase {
|
|||
|
||||
boolean selection = (selectionTracker != null && selectionTracker.hasSelection());
|
||||
|
||||
menu.findItem(R.id.menu_search).setVisible(viewType != AdapterMessage.ViewType.SEARCH);
|
||||
menu.findItem(R.id.menu_search).setVisible(
|
||||
viewType == AdapterMessage.ViewType.UNIFIED || viewType == AdapterMessage.ViewType.FOLDER);
|
||||
|
||||
menu.findItem(R.id.menu_folders).setVisible(primary >= 0);
|
||||
menu.findItem(R.id.menu_folders).setIcon(connected ? R.drawable.baseline_folder_24 : R.drawable.baseline_folder_open_24);
|
||||
|
|
Loading…
Reference in New Issue