mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 14:41:08 +00:00
Reset bnv/compose long click handlers
This commit is contained in:
parent
901f4053f7
commit
e0a379ee8d
1 changed files with 4 additions and 0 deletions
|
@ -1634,6 +1634,10 @@ public class FragmentCompose extends FragmentBase {
|
|||
else
|
||||
bottom_navigation.getMenu().findItem(R.id.action_send).setTitle(R.string.title_send);
|
||||
|
||||
Menu m = bottom_navigation.getMenu();
|
||||
for (int i = 0; i < m.size(); i++)
|
||||
bottom_navigation.findViewById(m.getItem(i).getItemId()).setOnLongClickListener(null);
|
||||
|
||||
bottom_navigation.findViewById(R.id.action_send).setOnLongClickListener(new View.OnLongClickListener() {
|
||||
@Override
|
||||
public boolean onLongClick(View v) {
|
||||
|
|
Loading…
Reference in a new issue