Skip to content

Commit

Permalink
Fix crash when clicking on feed
Browse files Browse the repository at this point in the history
Signed-off-by: Marcus Nilsson <marcus.nilsson@genarp.com>
  • Loading branch information
mkanilsson committed Sep 20, 2023
1 parent 8d3637f commit 48e66bd
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 48e66bd

Please sign in to comment.