diff options
| author | yell0wsuit <5692900+yell0wsuit@users.noreply.github.com> | 2024-05-14 22:00:03 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-14 17:00:03 +0200 |
| commit | 2b6cc4b3536693d222b695295c9db4715ca3f570 (patch) | |
| tree | 56d63ebb465684a94a224e28c3f9d231b0a6e7ca /src/Ryujinx.Graphics.Gpu | |
| parent | 075575200d693a5d24bd03a4220238e1e50f1ef6 (diff) | |
Add the "Auto" theme option in setting (#6611)
* Add "Follow OS theme" option
* Update App.axaml.cs
* Add "Follow OS theme" option
* Update App.axaml.cs
* Remove `this`
* Remove annotation for nullable reference
* Change into switch expression to make it concise
* Change comments to XML docs
* Update en_US.json
* Fix icons in About dialog do not response to "auto" theme
The theme icons seemingly use Dark variant event when the OS theme is light. In addition, I added ThemeManager common to make it accessible for both App and AboutWindow
* Newline at the end
* newline moment
* Update ThemeManager.cs
* bait to switch to lf
* change to lf
* temp. revert
* Add back ThemeManager.cs common, pls pass the format check
* I found the mistake: should have put `ThemeManager.OnThemeChanged();` in try block
Finally solve the formatting check
* test formatting
* Update App.axaml.cs
* Ok i seem to forget to add version lol
* Fix info CA1816
Diffstat (limited to 'src/Ryujinx.Graphics.Gpu')
0 files changed, 0 insertions, 0 deletions
