Fallback to welcome page if startup entity is not found.
This commit is contained in:
@@ -403,6 +403,11 @@ namespace Wino.Mail.ViewModels
|
|||||||
await ChangeLoadedAccountAsync(startupAccountMenuItem);
|
await ChangeLoadedAccountAsync(startupAccountMenuItem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Fallback to welcome page if startup entity is not found.
|
||||||
|
NavigationService.Navigate(WinoPage.WelcomePage);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user