Onboarding now skips already made Settings

added UpdaterView to Onboarding
This commit is contained in:
2019-01-05 16:27:29 +01:00
parent e80d602cc1
commit 50867c16a8
6 changed files with 45 additions and 23 deletions

View File

@@ -8,6 +8,7 @@ using RothenburgAR.Common;
using System.IO;
using System.Security.Cryptography;
using System.Text.RegularExpressions;
using RothenburgAR.UI;
namespace RothenburgAR.Updater
{
@@ -447,8 +448,11 @@ namespace RothenburgAR.Updater
public void UpdatesCompleted()
{
//TODO force switch to UpdaterView when update needs to be applied
UpdateState = UpdateState.Completed;
//TODO force switch to UpdaterView when update needs to be applied
if (!UIManager.Instance.StartingUp)
UIManager.Instance.SwitchToView(ViewName.UpdaterView);
}
}
}