diff options
author | Isaac Marovitz <42140194+IsaacMarovitz@users.noreply.github.com> | 2023-09-25 18:04:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 00:04:58 +0200 |
commit | d6d3cdd5739e6b8f8df36bf393e440f4857fb2b7 (patch) | |
tree | e483c2c0352c5fbba137596cc9603773a571e6b7 /src/Ryujinx.Ava/UI/Windows/StyleableWindow.cs | |
parent | 53bd4c9f603c95929ad17fffcce2fe1de04e3ae1 (diff) |
Ava UI: Refactor `async` usage (#5516)1.1.1027
* Remove `async void`
* Async LoadApplications
* Formatting and such
* Remove async from InstallUpdate
* Update src/Ryujinx.Ava/UI/Controls/ApplicationContextMenu.axaml.cs
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Cleanup LoadApplications()
* Cleanup
* Formatting
* Revert some stuff
* Cleanup
* Update src/Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs
Co-authored-by: Ac_K <Acoustik666@gmail.com>
* Ack suggestions
* Whitespace
* Fix Peri suggestion
* Add missing trailing commas
* Remove redundant method override
* Remove Dispatcher.UIThread.InvokeAsync/Post where possible
---------
Co-authored-by: TSR Berry <20988865+TSRBerry@users.noreply.github.com>
Co-authored-by: Ac_K <Acoustik666@gmail.com>
Diffstat (limited to 'src/Ryujinx.Ava/UI/Windows/StyleableWindow.cs')
-rw-r--r-- | src/Ryujinx.Ava/UI/Windows/StyleableWindow.cs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Ryujinx.Ava/UI/Windows/StyleableWindow.cs b/src/Ryujinx.Ava/UI/Windows/StyleableWindow.cs index 43e42804..3fedd5a2 100644 --- a/src/Ryujinx.Ava/UI/Windows/StyleableWindow.cs +++ b/src/Ryujinx.Ava/UI/Windows/StyleableWindow.cs @@ -3,7 +3,6 @@ using Avalonia.Controls.Primitives; using Avalonia.Media.Imaging; using Avalonia.Platform; using Ryujinx.Ui.Common.Configuration; -using System; using System.IO; using System.Reflection; @@ -25,11 +24,6 @@ namespace Ryujinx.Ava.UI.Windows IconImage = new Bitmap(stream); } - protected override void OnOpened(EventArgs e) - { - base.OnOpened(e); - } - protected override void OnApplyTemplate(TemplateAppliedEventArgs e) { base.OnApplyTemplate(e); |