#439 Allow Rendering of any markdown file

Fix NPE on low Android versions
This commit is contained in:
stefan-niedermann 2020-01-23 23:11:46 +01:00
parent 607c86b057
commit 0f2518dc32

View file

@ -78,6 +78,7 @@ public class NoteReadonlyFragment extends SearchableBaseNoteFragment {
menu.findItem(R.id.menu_share).setVisible(false);
menu.findItem(R.id.menu_move).setVisible(false);
menu.findItem(R.id.menu_category).setVisible(false);
if(menu.findItem(MENU_ID_PIN) != null)
menu.findItem(MENU_ID_PIN).setVisible(false);
}