Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ThemeService Documentation outdated? #19077

Open
DevTKSS opened this issue Dec 14, 2024 · 0 comments
Open

ThemeService Documentation outdated? #19077

DevTKSS opened this issue Dec 14, 2024 · 0 comments
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/documentation triage/untriaged Indicates an issue requires triaging or verification

Comments

@DevTKSS
Copy link
Contributor

DevTKSS commented Dec 14, 2024

On which page?

https://platform.uno/docs/articles/external/uno.extensions/doc/Learn/ThemeService/HowTo-UseThemeService.html

What's wrong?

Normally when we add Features at the project creation, in this case ThemeService, its implemented already in the app.xaml.cs file, and we find the host config already existing. Seems to not be the case for UseThemeSwitching?
Screenshot 2024-12-14 152637
Screenshot 2024-12-14 152758
See the unchanged features in the csproj and the setup of the host config (also not changed!)
But somehow I did have the .GetThemeService() on the Pages this.GetThemeService().SetThemeAsync(AppTheme.Dark); Maybe you could check if that config is missing in template or not longer needed which would be a explaination for its not added from the wizard?

Any feedback?

Maybe you could add the way you call this task also to the documentation page, like if you do it with command via command extensions (toggleSwitch is not having Command by default) that could also add some improvement and help understand usage of this extension for controls which are not having this in a kind of usecase :)

@DevTKSS DevTKSS added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/documentation triage/untriaged Indicates an issue requires triaging or verification labels Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/documentation triage/untriaged Indicates an issue requires triaging or verification
Projects
None yet
Development

No branches or pull requests

1 participant