mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 23:57:39 +03:00
remove trace onGoToFileSelection
This commit is contained in:
parent
d03af69b83
commit
fc50460c35
@ -99,7 +99,7 @@ void ReaderActivity::onSelectBookFile(const std::string& path) {
|
|||||||
enterNewActivity(new FullScreenMessageActivity(renderer, mappedInput, "Failed to load TXT",
|
enterNewActivity(new FullScreenMessageActivity(renderer, mappedInput, "Failed to load TXT",
|
||||||
EpdFontFamily::REGULAR, EInkDisplay::HALF_REFRESH));
|
EpdFontFamily::REGULAR, EInkDisplay::HALF_REFRESH));
|
||||||
delay(2000);
|
delay(2000);
|
||||||
onGoToFileSelection();
|
goToLibrary();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Load EPUB file
|
// Load EPUB file
|
||||||
@ -143,7 +143,7 @@ void ReaderActivity::onGoToTxtReader(std::unique_ptr<Txt> txt) {
|
|||||||
currentBookPath = txtPath;
|
currentBookPath = txtPath;
|
||||||
exitActivity();
|
exitActivity();
|
||||||
enterNewActivity(new TxtReaderActivity(
|
enterNewActivity(new TxtReaderActivity(
|
||||||
renderer, mappedInput, std::move(txt), [this, txtPath] { onGoToFileSelection(txtPath); },
|
renderer, mappedInput, std::move(txt), [this, txtPath] { goToLibrary(txtPath); },
|
||||||
[this] { onGoBack(); }));
|
[this] { onGoBack(); }));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user