From cf04ae4a35570d13458755c3d06c540262ea2762 Mon Sep 17 00:00:00 2001 From: GenesiaW <74142392+GenesiaW@users.noreply.github.com> Date: Tue, 3 Feb 2026 21:51:05 +0800 Subject: [PATCH] Update src/main.cpp Co-authored-by: Arthur Tazhitdinov --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index c1ac6b1d..9b20f27d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -313,7 +313,7 @@ void setup() { // Boot to home screen directly when back button is held or when reader activity crashes 3 times if (APP_STATE.openEpubPath.empty() || mappedInputManager.isPressed(MappedInputManager::Button::Back) || - APP_STATE.readerActivityLoadCount > 2) { + APP_STATE.readerActivityLoadCount > 0) { onGoHome(); } else { // Clear app state to avoid getting into a boot loop if the epub doesn't load