mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-03-06 14:41:08 +00:00
misc: Use a few static helpers for Avalonia objects
This commit is contained in:
@@ -76,10 +76,7 @@ namespace Ryujinx.Ava.UI.ViewModels
|
||||
|
||||
ApplicationData = applicationData;
|
||||
|
||||
if (Application.Current.ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
|
||||
{
|
||||
StorageProvider = desktop.MainWindow.StorageProvider;
|
||||
}
|
||||
StorageProvider = RyujinxApp.MainWindow.StorageProvider;
|
||||
|
||||
LoadUpdates();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user