mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-12 22:36:59 +00:00
rename NotificationHelper to RyujinxNotificationManager,
rename instance method names. Additionally clarified what the math is in the notification manager margin parameter.
This commit is contained in:
parent
d9128ece5b
commit
8ec1a3a594
12 changed files with 49 additions and 40 deletions
|
|
@ -79,14 +79,14 @@ namespace Ryujinx.Ava.UI.SetupWizard.Pages
|
|||
SystemVersion installedFwVer = RyujinxApp.MainWindow.ContentManager.GetCurrentFirmwareVersion();
|
||||
if (installedFwVer != null)
|
||||
{
|
||||
Notifications.NotifyInformation(
|
||||
NotificationManager.Information(
|
||||
"Firmware installed",
|
||||
$"Installed firmware version {installedFwVer.VersionString}."
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
Notifications.NotifyError(
|
||||
NotificationManager.Error(
|
||||
"Firmware not installed",
|
||||
$"It seems some error occurred when trying to install the firmware at path '{FirmwareSourcePath}'." +
|
||||
"\nDid that folder contain a firmware dump?"
|
||||
|
|
@ -107,7 +107,7 @@ namespace Ryujinx.Ava.UI.SetupWizard.Pages
|
|||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Notifications.NotifyError(e.Message, waitingExit: true);
|
||||
NotificationManager.Error(e.Message, waitingExit: true);
|
||||
return Result.Fail;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue