feat(ui): simplify family UI - hide advanced settings/apps, sane defaults
Hide from Settings: Bluetooth, Development, MCP Screen, Power, Region & Language, Time & Date (APP_MANIFEST_FLAG_HIDDEN). Hide from Apps list: App Hub, Chat, I2C Scanner, Notes, Screenshot, System Info, Web Server. Defaults: MCP on, WebServer on, America/New_York timezone, 12-hour time format.
This commit is contained in:
@@ -75,7 +75,7 @@ std::string getTimeZoneName() {
|
||||
}
|
||||
}
|
||||
}
|
||||
return "Europe/Amsterdam";
|
||||
return "America/New_York";
|
||||
}
|
||||
|
||||
bool hasTimeZone() {
|
||||
@@ -105,13 +105,13 @@ std::string getTimeZoneCode() {
|
||||
}
|
||||
}
|
||||
}
|
||||
return "CET-1CEST,M3.5.0,M10.5.0/3"; // Default: Europe/Amsterdam
|
||||
return "EST5EDT,M3.2.0,M11.1.0"; // Default: America/New_York
|
||||
}
|
||||
|
||||
bool isTimeFormat24Hour() {
|
||||
SystemSettings properties;
|
||||
if (!loadSystemSettings(properties)) {
|
||||
return true;
|
||||
return false;
|
||||
} else {
|
||||
return properties.timeFormat24h;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user