Fallback to welcome page if startup entity is not found.

This commit is contained in:
Burak Kaan Köse
2024-09-03 01:49:45 +02:00
parent d488b10848
commit 323a8acbd5

View File

@@ -403,6 +403,11 @@ namespace Wino.Mail.ViewModels
await ChangeLoadedAccountAsync(startupAccountMenuItem);
}
}
else
{
// Fallback to welcome page if startup entity is not found.
NavigationService.Navigate(WinoPage.WelcomePage);
}
}
}