1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-05 02:39:23 +02:00

NG library view: in progress

This commit is contained in:
Nikolay Pultsin 2010-11-21 23:52:36 +00:00
parent 2ac3ecd573
commit b218f22e18
8 changed files with 125 additions and 51 deletions

View file

@ -41,7 +41,7 @@ class ShowLibraryAction extends FBAction {
final BookModel model = Reader.Model;
Intent intent = new Intent(myBaseActivity.getApplicationContext(), LibraryTopLevelActivity.class);
if (model != null && model.Book != null) {
//intent.putExtra(LibraryTopLevelActivity.CURRENT_BOOK_PATH_KEY, model.Book.File.getPath());
intent.putExtra(LibraryTopLevelActivity.SELECTED_BOOK_PATH_KEY, model.Book.File.getPath());
}
myBaseActivity.startActivity(intent);
}