aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-07-05 19:44:36 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-07-05 19:44:36 +0300
commit25b7d63b202f85fa5af57f4d59c984e9afaf30c5 (patch)
treeaf7315cf001aa37099c63f1971cf07f74ee46dbc /Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels
parent466b54210bc5066e6e29107d6c8f996f360b1426 (diff)
downloadTango-25b7d63b202f85fa5af57f4d59c984e9afaf30c5.tar.gz
Tango-25b7d63b202f85fa5af57f4d59c984e9afaf30c5.zip
Using LINQ to SQL Async methods in JobView.
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);
};
}
}