Fix ~3500 analyser issues

See merge request ryubing/ryujinx!44
This commit is contained in:
MrKev 2025-05-30 17:08:34 -05:00 committed by LotP
parent 417df486b1
commit 361d0c5632
622 changed files with 3080 additions and 2652 deletions

View file

@ -64,7 +64,7 @@ namespace Ryujinx.Ava.UI.Helpers
public static void ShowError(string message) =>
ShowError(
LocaleManager.Instance[LocaleKeys.DialogErrorTitle],
LocaleManager.Instance[LocaleKeys.DialogErrorTitle],
$"{LocaleManager.Instance[LocaleKeys.DialogErrorMessage]}\n\n{message}"
);
@ -73,8 +73,8 @@ namespace Ryujinx.Ava.UI.Helpers
title,
text,
NotificationType.Information,
waitingExit,
onClick,
waitingExit,
onClick,
onClose);
public static void ShowSuccess(string title, string text, bool waitingExit = false, Action onClick = null, Action onClose = null) =>
@ -82,8 +82,8 @@ namespace Ryujinx.Ava.UI.Helpers
title,
text,
NotificationType.Success,
waitingExit,
onClick,
waitingExit,
onClick,
onClose);
public static void ShowWarning(string title, string text, bool waitingExit = false, Action onClick = null, Action onClose = null) =>
@ -91,8 +91,8 @@ namespace Ryujinx.Ava.UI.Helpers
title,
text,
NotificationType.Warning,
waitingExit,
onClick,
waitingExit,
onClick,
onClose);
public static void ShowError(string title, string text, bool waitingExit = false, Action onClick = null, Action onClose = null) =>
@ -100,8 +100,8 @@ namespace Ryujinx.Ava.UI.Helpers
title,
text,
NotificationType.Error,
waitingExit,
onClick,
waitingExit,
onClick,
onClose);
}
}