Browse Source

Fixed crash

main
M66B 6 years ago
parent
commit
995930071a
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      app/src/main/java/eu/faircode/email/AdapterMessage.java

+ 3
- 0
app/src/main/java/eu/faircode/email/AdapterMessage.java View File

@ -794,6 +794,9 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
@Override @Override
public boolean onNavigationItemSelected(@NonNull MenuItem item) { public boolean onNavigationItemSelected(@NonNull MenuItem item) {
ActionData data = (ActionData) bnvActions.getTag(); ActionData data = (ActionData) bnvActions.getTag();
if (data == null)
return false;
switch (item.getItemId()) { switch (item.getItemId()) {
case R.id.action_more: case R.id.action_more:
onMore(data); onMore(data);


Loading…
Cancel
Save