More fixes

This commit is contained in:
jpirnay
2026-05-15 00:02:16 +02:00
parent 3dfcdd002f
commit 25e1a64eb8
7 changed files with 82 additions and 3 deletions
+2 -2
View File
@@ -286,7 +286,7 @@ void ActivityManager::goToBrowser() {
void ActivityManager::goToReader(std::string path) {
RenderLock lock;
ensureSdFontLoaded();
ensureSdFontLoadedForPath(path.c_str());
replaceActivity(std::make_unique<ReaderActivity>(renderer, mappedInput, std::move(path)));
}
@@ -307,7 +307,7 @@ void ActivityManager::replaceWithReader(std::string path, ReturnHint hint) {
returnHint = std::move(hint);
hasReturnHint = true;
RenderLock lock;
ensureSdFontLoaded();
ensureSdFontLoadedForPath(path.c_str());
replaceActivity(std::make_unique<ReaderActivity>(renderer, mappedInput, std::move(path)));
}