bug(settings): default theme ID 'classic' contradicts migration that renames it to 'dark' #64
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug
settings.rssets the default theme ID to"classic". However, the settings migration logic renames the old"classic"theme to"dark"for existing users. New installs therefore start with a theme ID that does not match any installed theme, falling back to the system default silently.Affected files
solitaire_engine/src/settings.rs(default value)Fix
Either:
settings.rsto"dark"to match the post-migration name, or"classic"theme variant and ensure the migration only applies to users upgrading from old versionsDocument which theme IDs are canonical in
ARCHITECTURE.mdor a comment.