Remove outdated static variant
This commit is contained in:
1 parent
af018af03a
commit
a8816b2964
1 file changed
+1
-1
@@ -68,7 +68,7 @@ void applyLegacyStatusBarSettings(CrossPointSettings& settings) {
|
||||
// ---- CrossPointState ----
|
||||
|
||||
bool JsonSettingsIO::saveState(const CrossPointState& s, const char* path) {
|
||||
StaticJsonDocument<4096> doc;
|
||||
JsonDocument doc;
|
||||
doc["openEpubPath"] = s.openEpubPath;
|
||||
doc["lastSleepImage"] = s.lastSleepImage;
|
||||
doc["readerActivityLoadCount"] = s.readerActivityLoadCount;
|
||||
|
||||
Reference in new issue
Block a user