Browse Source

Bug fix (empty board bookmark title)

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

2
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); thisPageBookmark = new Bookmark(boardTitle, ThmmyPage.getBoardId(boardUrl), true);
if (boardTitle != null && !Objects.equals(boardTitle, ""))
setBoardBookmark(findViewById(R.id.bookmark)); setBoardBookmark(findViewById(R.id.bookmark));
createDrawer(); createDrawer();
progressBar = findViewById(R.id.progressBar); progressBar = findViewById(R.id.progressBar);

Loading…
Cancel
Save