Removed migrations. New onboarding screen and wizard like steps.
This commit is contained in:
@@ -45,7 +45,11 @@ public class NavigationService : NavigationServiceBase, INavigationService
|
||||
WinoPage.ComposePage,
|
||||
WinoPage.IdlePage,
|
||||
WinoPage.WelcomePage,
|
||||
WinoPage.WelcomePageV2
|
||||
WinoPage.WelcomePageV2,
|
||||
WinoPage.WelcomeHostPage,
|
||||
WinoPage.ProviderSelectionPage,
|
||||
WinoPage.AccountSetupProgressPage,
|
||||
WinoPage.SpecialImapCredentialsPage
|
||||
];
|
||||
|
||||
private static readonly WinoPage[] CalendarOnlyPages =
|
||||
@@ -116,6 +120,10 @@ public class NavigationService : NavigationServiceBase, INavigationService
|
||||
WinoPage.ContactsPage => typeof(ContactsPage),
|
||||
WinoPage.SignatureAndEncryptionPage => typeof(SignatureAndEncryptionPage),
|
||||
WinoPage.StoragePage => typeof(StoragePage),
|
||||
WinoPage.WelcomeHostPage => typeof(WelcomeHostPage),
|
||||
WinoPage.ProviderSelectionPage => typeof(ProviderSelectionPage),
|
||||
WinoPage.AccountSetupProgressPage => typeof(AccountSetupProgressPage),
|
||||
WinoPage.SpecialImapCredentialsPage => typeof(SpecialImapCredentialsPage),
|
||||
WinoPage.CalendarPage => typeof(CalendarPage),
|
||||
WinoPage.EventDetailsPage => typeof(EventDetailsPage),
|
||||
WinoPage.CalendarSettingsPage => typeof(CalendarSettingsPage),
|
||||
|
||||
@@ -317,20 +317,6 @@ public class NotificationBuilder : INotificationBuilder
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
public void CreateMigrationRequiredNotification()
|
||||
{
|
||||
var builder = new ToastContentBuilder();
|
||||
builder.SetToastScenario(ToastScenario.Default);
|
||||
|
||||
builder.AddText(Translator.WhatIsNew_MigrationNotification_Title);
|
||||
builder.AddText(Translator.WhatIsNew_MigrationNotification_Message);
|
||||
|
||||
builder.AddArgument(Constants.ToastMigrationRequiredKey, bool.TrueString);
|
||||
builder.AddArgument(Constants.ToastModeKey, Constants.ToastModeMail);
|
||||
|
||||
ShowToast(builder);
|
||||
}
|
||||
|
||||
private static void ShowToast(ToastContentBuilder builder, string? tag = null)
|
||||
{
|
||||
var toastNotification = new ToastNotification(builder.GetToastContent().GetXml());
|
||||
|
||||
Reference in New Issue
Block a user