Fix small issue with redraft in notifications menu

This commit is contained in:
stom79 2018-08-18 14:53:08 +02:00
parent 10886eac6c
commit 3ce2ccfc8b
1 changed files with 2 additions and 0 deletions

View File

@ -613,6 +613,8 @@ public class NotificationsListAdapter extends RecyclerView.Adapter implements On
if( status.getVisibility().equals("private") || status.getVisibility().equals("direct")){
popup.getMenu().findItem(R.id.action_mention).setVisible(false);
}
if( popup.getMenu().findItem(R.id.action_redraft) != null)
popup.getMenu().findItem(R.id.action_redraft).setVisible(false);
final String[] stringArrayConf;
if( isOwner) {
popup.getMenu().findItem(R.id.action_block).setVisible(false);