1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-13 14:53:18 +00:00

Null checks in iOS views on value changed. Segue to proper route on lock screen dismissal. Adjusted add site modal transition.

This commit is contained in:
Kyle Spearrin
2016-07-25 23:40:25 -04:00
parent 3dff2cc6d0
commit dc69b75cb9
5 changed files with 13 additions and 6 deletions

View File

@@ -168,8 +168,15 @@ namespace Bit.iOS.Extension
Debug.WriteLine("BW Log, Dismissing lock controller.");
DismissViewController(false, () =>
{
Debug.WriteLine("BW Log, Segue to site list.");
PerformSegue("siteListSegue", this);
Debug.WriteLine("BW Log, Segue to site add or list.");
if(_context.ProviderType == Constants.UTTypeAppExtensionSaveLoginAction)
{
PerformSegue("newSiteSegue", this);
}
else
{
PerformSegue("siteListSegue", this);
}
});
}