Skip to content

Commit

Permalink
UI: It's called "live testing."
Browse files Browse the repository at this point in the history
  • Loading branch information
GreemDev committed Nov 22, 2024
1 parent 49eeb26 commit e05875a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/Ryujinx/Updater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,14 @@ await ContentDialogHelper.CreateWarningDialog(
{
if (showVersionUpToDate)
{
await ContentDialogHelper.CreateUpdaterInfoDialog(
UserResult userResult = await ContentDialogHelper.CreateUpdaterUpToDateInfoDialog(
LocaleManager.Instance[LocaleKeys.DialogUpdaterAlreadyOnLatestVersionMessage],
string.Empty);

if (userResult is UserResult.Ok)
{
OpenHelper.OpenUrl(ReleaseInformation.GetChangelogForVersion(currentVersion));
}
}

_running = false;
Expand All @@ -133,9 +138,14 @@ await ContentDialogHelper.CreateUpdaterInfoDialog(
{
if (showVersionUpToDate)
{
await ContentDialogHelper.CreateUpdaterInfoDialog(
UserResult userResult = await ContentDialogHelper.CreateUpdaterUpToDateInfoDialog(
LocaleManager.Instance[LocaleKeys.DialogUpdaterAlreadyOnLatestVersionMessage],
string.Empty);

if (userResult is UserResult.Ok)
{
OpenHelper.OpenUrl(ReleaseInformation.GetChangelogForVersion(currentVersion));
}
}

_running = false;
Expand Down

0 comments on commit e05875a

Please sign in to comment.