remove trace onGoToFileSelection

This commit is contained in:
Kenneth 2026-01-14 13:06:34 -05:00
parent d03af69b83
commit fc50460c35

View File

@ -99,7 +99,7 @@ void ReaderActivity::onSelectBookFile(const std::string& path) {
enterNewActivity(new FullScreenMessageActivity(renderer, mappedInput, "Failed to load TXT",
EpdFontFamily::REGULAR, EInkDisplay::HALF_REFRESH));
delay(2000);
onGoToFileSelection();
goToLibrary();
}
} else {
// Load EPUB file
@ -143,7 +143,7 @@ void ReaderActivity::onGoToTxtReader(std::unique_ptr<Txt> txt) {
currentBookPath = txtPath;
exitActivity();
enterNewActivity(new TxtReaderActivity(
renderer, mappedInput, std::move(txt), [this, txtPath] { onGoToFileSelection(txtPath); },
renderer, mappedInput, std::move(txt), [this, txtPath] { goToLibrary(txtPath); },
[this] { onGoBack(); }));
}