From dea72c44adc09435426cb5be752ff58b56943209 Mon Sep 17 00:00:00 2001 From: Ezerous Date: Tue, 11 Jul 2017 18:33:23 +0300 Subject: [PATCH] Bookmarks hotfix --- .../java/gr/thmmy/mthmmy/activities/BookmarkActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } }