fix(l2): no Lock clock row in Settings

The Big / Compact lock look is ui-new's; the shared schema row did nothing
on the L2's slide-to-unlock card.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-10-02 14:23:15 +02:00
co-authored by Claude Opus 5.5
parent 687a31e657
commit 3631e0ab85
+4 -1
View File
@@ -4681,7 +4681,10 @@ void UITask::schemaSection(int i) {
uint8_t sec = settings::ALL[i].section; uint8_t sec = settings::ALL[i].section;
lv_obj_t* card = s_sec_card[sec] = group(s_schema_body, s_schema_one ? nullptr : settings::sectionTitle(sec)); lv_obj_t* card = s_sec_card[sec] = group(s_schema_body, s_schema_one ? nullptr : settings::sectionTitle(sec));
if (sec == settings::SEC_SOUND) buildSoundRows(card, true); // On / Off / Auto if (sec == settings::SEC_SOUND) buildSoundRows(card, true); // On / Off / Auto
for (int k = i; k < settings::COUNT && settings::ALL[k].section == sec; k++) schemaRow(card, k); for (int k = i; k < settings::COUNT && settings::ALL[k].section == sec; k++) {
if (settings::ALL[k].offset == offsetof(NodePrefs, lock_compact)) continue; // ui-new's lock look; the slide card has one
schemaRow(card, k);
}
} }
// One schema setting as a row of `card`: a switch, a choice, or (brightness, // One schema setting as a row of `card`: a switch, a choice, or (brightness,