Skip to content

Fix light theme persistence#2121

Open
anditherobot wants to merge 1 commit into
lemonade-sdk:mainfrom
anditherobot:fix/light-theme-settings-persistence
Open

Fix light theme persistence#2121
anditherobot wants to merge 1 commit into
lemonade-sdk:mainfrom
anditherobot:fix/light-theme-settings-persistence

Conversation

@anditherobot
Copy link
Copy Markdown
Contributor

Fixes #2120.

This change keeps the selected Light theme after refresh or reopen.

The app was already saving a theme value, but the settings load/save code did not keep that value when it rebuilt the settings object. This caused the app to fall back to the default Dark theme.

This PR preserves valid theme values: dark and light.

Tests:

  • npm run build:renderer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Light theme resets after refreshing the app

1 participant