1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-18 01:03:24 +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);
}
});
}

View File

@@ -42,7 +42,7 @@
<segue id="8446" destination="6512" kind="presentation" identifier="lockFingerprintSegue"/>
<segue id="8924" destination="6815" kind="presentation" identifier="lockPinSegue"/>
<segue id="9874" destination="6855" kind="presentation" identifier="lockPasswordSegue"/>
<segue id="10498" destination="1845" kind="presentation" identifier="newSiteSegue" modalPresentationStyle="" modalTransitionStyle=""/>
<segue id="10498" destination="1845" kind="presentation" identifier="newSiteSegue" modalPresentationStyle="fullScreen" modalTransitionStyle="coverVertical"/>
<outlet property="DecryptingLabel" destination="10537" id="name-outlet-10537"/>
</connections>
</viewController>