Short press will go back to origin / long press will go back to home

This commit is contained in:
jpirnay
2026-04-05 21:37:28 +02:00
parent c86a5fee4c
commit f75bbf5b1e
8 changed files with 32 additions and 23 deletions
+1 -1
View File
@@ -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);