-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Add the "Auto" theme option in setting #6611
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
0800490
Add "Follow OS theme" option
yell0wsuit 3ed8d5b
Update App.axaml.cs
yell0wsuit 6deeba6
Add "Follow OS theme" option
yell0wsuit 91fcb70
Update App.axaml.cs
yell0wsuit 54c0630
Merge branch 'master' of https://github.com/yell0wsuit/Ryujinx
yell0wsuit b240865
Remove `this`
yell0wsuit d2571fb
Remove annotation for nullable reference
yell0wsuit a0cd133
Change into switch expression to make it concise
yell0wsuit b401425
Merge branch 'Ryujinx:master' into master
yell0wsuit 6c78193
Change comments to XML docs
yell0wsuit 7c0f261
Update en_US.json
yell0wsuit 9808450
Fix icons in About dialog do not response to "auto" theme
yell0wsuit f6475f8
Newline at the end
yell0wsuit 29db8d7
newline moment
yell0wsuit b969d2a
Update ThemeManager.cs
yell0wsuit 8a86f51
bait to switch to lf
yell0wsuit bea19e3
change to lf
yell0wsuit b02c52a
temp. revert
yell0wsuit 8113901
Add back ThemeManager.cs common, pls pass the format check
yell0wsuit 0bf9205
I found the mistake: should have put `ThemeManager.OnThemeChanged();`…
yell0wsuit ce10776
test formatting
yell0wsuit d11806b
Update App.axaml.cs
yell0wsuit 144945f
Ok i seem to forget to add version lol
yell0wsuit fe01898
Fix info CA1816
yell0wsuit 7a3e54c
Merge branch 'master' into master
yell0wsuit 6aa59a6
Merge branch 'master' into master
yell0wsuit 64e8e31
Merge branch 'master' into master
yell0wsuit bf016d9
Merge branch 'master' into master
yell0wsuit cdd428d
Merge branch 'master' into master
yell0wsuit 065f073
Merge branch 'master' into master
yell0wsuit 07f902b
Merge branch 'master' into master
yell0wsuit File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
|
||
namespace Ryujinx.Ava.Common | ||
{ | ||
public static class ThemeManager | ||
{ | ||
public static event EventHandler ThemeChanged; | ||
|
||
public static void OnThemeChanged() | ||
{ | ||
ThemeChanged?.Invoke(null, EventArgs.Empty); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think XML docs does anything when unsubscribing or subscribing events.