diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/BookmarkActivity.java b/app/src/main/java/gr/thmmy/mthmmy/activities/BookmarkActivity.java index 28a0fb80..1ff2c001 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/activities/BookmarkActivity.java +++ b/app/src/main/java/gr/thmmy/mthmmy/activities/BookmarkActivity.java @@ -151,9 +151,9 @@ public class BookmarkActivity extends BaseActivity { private void updateTitles() { - if(getBoardsBookmarked().isEmpty()) + if(getBoardsBookmarked().isEmpty()&&boardsTitle!=null) boardsTitle.setVisibility(View.GONE); - if(getTopicsBookmarked().isEmpty()) + if(getTopicsBookmarked().isEmpty()&&topicsTitle!=null) topicsTitle.setVisibility(View.GONE); } }