Short press will go back to origin / long press will go back to home
This commit is contained in:
@@ -12,7 +12,7 @@ void Activity::requestUpdateAndWait() { activityManager.requestUpdateAndWait();
|
||||
|
||||
void Activity::onGoHome() { activityManager.goHome(); }
|
||||
|
||||
void Activity::onSelectBook(const std::string& path) { activityManager.goToReader(path); }
|
||||
void Activity::onSelectBook(const std::string& path) { activityManager.pushReader(path); }
|
||||
|
||||
void Activity::startActivityForResult(std::unique_ptr<Activity>&& activity, ActivityResultHandler resultHandler) {
|
||||
this->resultHandler = std::move(resultHandler);
|
||||
|
||||
Reference in New Issue
Block a user