Skip to content

Fix date format setting not persisting across app restarts - #237

Merged
bmaroti9 merged 1 commit into
bmaroti9:masterfrom
jorisvaesen:master
Aug 21, 2026
Merged

Fix date format setting not persisting across app restarts#237
bmaroti9 merged 1 commit into
bmaroti9:masterfrom
jorisvaesen:master

Conversation

@jorisvaesen

Copy link
Copy Markdown
Contributor

SettingsProvider._load() reads every persisted setting back into memory on startup (temperature, wind, time mode, etc.) except _dateFormat. setDateFormat() saves correctly via PreferenceUtils.setString("Date format", to), but since _load() never calls the matching getter, _dateFormat always falls back to its field default of "mm/dd" on relaunch. This adds the missing load call, mirroring the pattern used for _timeMode.

@bmaroti9
bmaroti9 merged commit 60e1071 into bmaroti9:master Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants