aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LoginViewVM.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LoginViewVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LoginViewVM.cs
index 6107a906d..293435d0b 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LoginViewVM.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/LoginViewVM.cs
@@ -56,9 +56,10 @@ namespace Tango.PPC.UI.ViewModels
NotificationProvider.ShowWarning("Email or password are incorrect.");
}
- ApplicationManager.ModulesInitialized += (_, __) =>
+ ApplicationManager.ModulesInitialized += async (_, __) =>
{
- NavigationManager.NavigateTo(NavigationView.HomeModule);
+ await Task.Delay(500);
+ await NavigationManager.NavigateTo(NavigationView.HomeModule);
};
}
}