Skip to content

Rework settings#80

Merged
brownard merged 4 commits into
masterfrom
Rework_settings
May 16, 2026
Merged

Rework settings#80
brownard merged 4 commits into
masterfrom
Rework_settings

Conversation

@brownard
Copy link
Copy Markdown
Owner

  • Refactor settings classes to simplify and reduce duplication
  • Save settings using viewModelScope instead of composable scope to prevent cancellation on composition change and simplify UI logic
  • Add description support to select settings
  • Minor UI tweaks

brownard added 4 commits May 3, 2026 23:31
- Add setting extension function to SettingsStore to simplify creation of SettingStates
- Create default implementations of SettingsStores in settings interfaces
- Use DataStoreFactory to create the underlying DataStores to remove dependency on a Context
- Use encodeTo/decodeFromStream functions when deserialising settings and ignore unknown keys to avoid errors when switching between versions
…oid scope being cancelled during composition changes and simplify the screen logic.
…creen and add settings directly to the screen composable
@brownard brownard merged commit 4cebe82 into master May 16, 2026
1 check passed
@brownard brownard deleted the Rework_settings branch May 16, 2026 20:46
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.

1 participant