mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-06 03:50:19 +02:00
introduces FBReaderApp.getCurrentBook()
This commit is contained in:
parent
25e219186d
commit
78158354e7
9 changed files with 28 additions and 14 deletions
|
@ -55,7 +55,7 @@ class ShowBookmarksAction extends FBAndroidAction {
|
|||
}
|
||||
|
||||
private void startBookmarksActivity(Intent intent) {
|
||||
FBReaderIntents.putBookExtra(intent, Reader.Model.Book);
|
||||
FBReaderIntents.putBookExtra(intent, Reader.getCurrentBook());
|
||||
FBReaderIntents.putBookmarkExtra(intent, Reader.createBookmark(20, true));
|
||||
OrientationUtil.startActivity(BaseActivity, intent);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue