Skip to content

Commit

Permalink
Merge pull request #1268 from mkanilsson/fix-app-crash
Browse files Browse the repository at this point in the history
Fix crash when pressing on feed
  • Loading branch information
David-Development authored Sep 25, 2023
2 parents 6fa12d9 + 48e66bd commit 139fc51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ public void onBackPressed() {
public static final int RESULT_SETTINGS = 15642;

private void syncMenuItemUnreadOnly() {
if (menuItemOnlyUnread != null) {
if (menuItemOnlyUnread != null && currentFolderId != null) {
menuItemOnlyUnread.setVisible(!(currentFolderId == -11 || currentFolderId == -10));
}
}
Expand Down

0 comments on commit 139fc51

Please sign in to comment.