add "overwrite mode" for the setup wizard, basically this just ignores the precondition of having whatever the page configures before showing it.

i.e. if you had keys installed, previously it'd skip right to firmware.

additionally added more customization to the now instance-based NotificationHelper
This commit is contained in:
GreemDev 2025-11-24 20:25:59 -06:00
parent 8d9d6b1afc
commit 07834ad4a2
5 changed files with 15 additions and 15 deletions

View file

@ -22,12 +22,14 @@ namespace Ryujinx.Ava.UI.Helpers
private readonly BlockingCollection<Notification> _notifications = new();
public NotificationHelper(Window host)
public NotificationHelper(Window host,
NotificationPosition visiblePosition = NotificationPosition.BottomRight,
int maxItems = MaxNotifications)
{
_notificationManager = new WindowNotificationManager(host)
{
Position = NotificationPosition.BottomRight,
MaxItems = MaxNotifications,
Position = visiblePosition,
MaxItems = maxItems,
Margin = new Thickness(0, 0, 15, 40)
};