Skip to content

Fuel type settings fix#35

Merged
brettedw merged 2 commits into
mainfrom
bug/fuel-fix
Apr 28, 2026
Merged

Fuel type settings fix#35
brettedw merged 2 commits into
mainfrom
bug/fuel-fix

Conversation

@brettedw

Copy link
Copy Markdown
Collaborator

This fixes a potential startup issue where some existing users could get stuck on the main page. The cause was a saved fuelTypePreset ID in SharedPreferences no longer matching the current preset list after the fuel type options were changed.
The fix falls back to the default C-2 boreal spruce preset when a saved ID is invalid, instead of throwing during startup

@brettedw brettedw requested review from conbrad and dgboss April 28, 2026 18:01
@brettedw brettedw merged commit 7dbf419 into main Apr 28, 2026
6 checks passed
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