Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
GyverLibs committed Dec 24, 2024
1 parent 6bdfb49 commit c40f8dc
Show file tree
Hide file tree
Showing 3 changed files with 336 additions and 320 deletions.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Settings
version=1.2.0
version=1.2.1
author=AlexGyver <alex@alexgyver.ru>
maintainer=AlexGyver <alex@alexgyver.ru>
sentence=Simple UI webface builder for esp8266/esp32
Expand Down
9 changes: 8 additions & 1 deletion src/SettingsBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ class SettingsBase {
size_t id = _db->updateNext();
p('{');
p[Code::id] = id;
p[Code::value];
p[Code::data];
p.addFromDB(_db, id);
p('}');
}
Expand Down Expand Up @@ -270,6 +270,13 @@ class SettingsBase {
_sendFs(true);
}
break;

case SH("create"):
if (granted) {
FS.openWrite(value);
_sendFs(true);
}
break;
}
}

Expand Down
Loading

0 comments on commit c40f8dc

Please sign in to comment.