Review comments

This commit is contained in:
jpirnay
2026-03-26 20:31:41 +01:00
parent ec6835ee79
commit 1112a36806
5 changed files with 24 additions and 16 deletions
@@ -37,8 +37,8 @@ const int verticalPreviewTextPadding = 40;
void StatusBarSettingsActivity::onEnter() {
Activity::onEnter();
selectedIndex = 0;
if (!SETTINGS.useClock && selectedIndex >= MENU_ITEMS - 1) {
const int menuCount = SETTINGS.useClock ? MENU_ITEMS : MENU_ITEMS - 1;
if (selectedIndex >= menuCount) {
selectedIndex = 0;
}