Ability to save/load settings to/from flipper (fixed filename)
Closed this issue · 4 comments
Save and Load features for settings - the stuff that gets synchronised - so you don't need to set up your favourite preferences every time Gravity is launched.
This issue is for a fixed filename, such as gravity.settings. A separate issue will be created to permit choice of filename to save/load
Changed scope of issue to supporting a single filename - closing as complete.
BUG: Load settings will load all settings from file into UI, but will not send those settings to ESP32-Gravity.
TODO: Add a parameter to syncProcessResponse() to indicate whether settings values should be dispatched to ESP32, and update that function to call relevant ESP32-Gravity commands during parsing.
Transmit setting changes to ESP32 complete.
TODO: Modal dialogue to report success/failure
TODO: furi_check() sucks - Loading when no file exists forces crash & reboot :(
Popup implemented reporting success/failure.
Would like to have it close automatically based on timeout, and in response to OK button, but not enough to spend time figuring out why it isn't...