Closed Rory-Reid closed 9 months ago
There were two very overkill ways of doing this. Either a table schema matching the settings, allowing one very wide record for all settings, or a table schema allowing more of a "key-value-pair" store allowing us to get and set individual settings one at a time.
For simplicity's sake I've gone with the wider one, I don't think there's much value breaking this down, and while it's a bit overkill to have this in sqlite it does help keep the app data neatly packaged. I've implemented it with the idea that it could be expanded to allow multiple "settings profiles" you can toggle between, but there's no actual usage of anything beyond rowid 1.
In https://github.com/Rory-Reid/Basemix/commit/e628a9d174710357dffcd897404374e5c98ef8ec
Need to come up with a sensible user settings system. Perhaps stored in DB so they sync across platforms.