Browse Source

Bug fix (empty board bookmark title)

pull/63/head
Ezerous 5 years ago
parent
commit
979b385d43
  1. 4
      app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardActivity.java

4
app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardActivity.java

@ -96,7 +96,9 @@ public class BoardActivity extends BaseActivity implements BoardAdapter.OnLoadMo
}
thisPageBookmark = new Bookmark(boardTitle, ThmmyPage.getBoardId(boardUrl), true);
setBoardBookmark(findViewById(R.id.bookmark));
if (boardTitle != null && !Objects.equals(boardTitle, ""))
setBoardBookmark(findViewById(R.id.bookmark));
createDrawer();
progressBar = findViewById(R.id.progressBar);

Loading…
Cancel
Save