forked from btclock/btclock_v3
More efficient handling of multiple fonts, restore data bugfix
This commit is contained in:
parent
90d91ba216
commit
13c8e67b4c
9 changed files with 96 additions and 94 deletions
|
@ -676,6 +676,7 @@ void onApiSettingsGet(AsyncWebServerRequest *request)
|
|||
root["nostrZapPubkey"] = preferences.getString("nostrZapPubkey", DEFAULT_ZAP_NOTIFY_PUBKEY);
|
||||
root["ledFlashOnZap"] = preferences.getBool("ledFlashOnZap", DEFAULT_LED_FLASH_ON_ZAP);
|
||||
root["fontName"] = preferences.getString("fontName", DEFAULT_FONT_NAME);
|
||||
root["availableFonts"] = FontNames::getAvailableFonts();
|
||||
// Custom endpoint settings (only used for CUSTOM_SOURCE)
|
||||
root["customEndpoint"] = preferences.getString("customEndpoint", DEFAULT_CUSTOM_ENDPOINT);
|
||||
root["customEndpointDisableSSL"] = preferences.getBool("customEndpointDisableSSL", DEFAULT_CUSTOM_ENDPOINT_DISABLE_SSL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue