Review comments

This commit is contained in:
jpirnay
2026-04-14 19:05:42 +02:00
parent f9f856f961
commit f2207cbb11
4 changed files with 14 additions and 5 deletions
+3 -1
View File
@@ -153,7 +153,9 @@ void TxtReaderActivity::loop() {
// Star page toggle via short power button press
if (SETTINGS.shortPwrBtn == CrossPointSettings::SHORT_PWRBTN::STAR_PAGE &&
mappedInput.wasReleased(MappedInputManager::Button::Power)) {
bookmarkStore.toggle(0, static_cast<uint16_t>(currentPage));
if (currentPage >= 0) {
bookmarkStore.toggle(0, static_cast<uint16_t>(currentPage));
}
requestUpdate();
return;
}