Avoid jumping straight into chapter selection screen

This commit is contained in:
Dave Allie
2025-12-28 23:49:51 +11:00
parent 41c93e4eba
commit 3dc5f6fec4

View File

@@ -101,7 +101,7 @@ void FileSelectionActivity::loop() {
const bool skipPage = inputManager.getHeldTime() > SKIP_PAGE_MS; const bool skipPage = inputManager.getHeldTime() > SKIP_PAGE_MS;
if (inputManager.wasPressed(InputManager::BTN_CONFIRM)) { if (inputManager.wasReleased(InputManager::BTN_CONFIRM)) {
if (files.empty()) { if (files.empty()) {
return; return;
} }