| 82 | } |
| 83 | |
| 84 | void ReaderActivity::goToLibrary(const std::string& fromBookPath) { |
| 85 | // If coming from a book, start in that book's folder; otherwise start from root |
| 86 | auto initialPath = fromBookPath.empty() ? "/" : FsHelpers::extractFolderPath(fromBookPath); |
| 87 | activityManager.goToFileBrowser(std::move(initialPath)); |
| 88 | } |
| 89 | |
| 90 | void ReaderActivity::onGoToEpubReader(std::unique_ptr<Epub> epub) { |
| 91 | const auto epubPath = epub->getPath(); |
nothing calls this directly
no test coverage detected