From fc50460c357bf4d342ea3fb2bb274b1bd4207c2d Mon Sep 17 00:00:00 2001 From: Kenneth Date: Wed, 14 Jan 2026 13:06:34 -0500 Subject: [PATCH] remove trace onGoToFileSelection --- src/activities/reader/ReaderActivity.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/activities/reader/ReaderActivity.cpp b/src/activities/reader/ReaderActivity.cpp index fb9058a6..b45d3cca 100644 --- a/src/activities/reader/ReaderActivity.cpp +++ b/src/activities/reader/ReaderActivity.cpp @@ -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) { 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(); })); }