diff --git a/src/iOS.Core/Views/SliderTableViewCell.cs b/src/iOS.Core/Views/SliderTableViewCell.cs index 54c763848..e8158fb2f 100644 --- a/src/iOS.Core/Views/SliderTableViewCell.cs +++ b/src/iOS.Core/Views/SliderTableViewCell.cs @@ -36,7 +36,7 @@ namespace Bit.iOS.Core.Views if(valueChanged) { - ValueChanged(this, null); + ValueChanged?.Invoke(this, null); } } diff --git a/src/iOS.Core/Views/StepperTableViewCell.cs b/src/iOS.Core/Views/StepperTableViewCell.cs index 61846f15c..02bdf8ce1 100644 --- a/src/iOS.Core/Views/StepperTableViewCell.cs +++ b/src/iOS.Core/Views/StepperTableViewCell.cs @@ -32,7 +32,7 @@ namespace Bit.iOS.Core.Views private void Stepper_ValueChanged(object sender, EventArgs e) { Value = Convert.ToInt32(Stepper.Value); - ValueChanged(this, null); + ValueChanged?.Invoke(this, null); } public UIStepper Stepper { get; private set; } diff --git a/src/iOS.Core/Views/SwitchTableViewCell.cs b/src/iOS.Core/Views/SwitchTableViewCell.cs index bb8dab2f2..9302f89e4 100644 --- a/src/iOS.Core/Views/SwitchTableViewCell.cs +++ b/src/iOS.Core/Views/SwitchTableViewCell.cs @@ -16,7 +16,7 @@ namespace Bit.iOS.Core.Views private void Switch_ValueChanged(object sender, EventArgs e) { - ValueChanged(this, null); + ValueChanged?.Invoke(this, null); } public UISwitch Switch { get; set; } = new UISwitch(); diff --git a/src/iOS.Extension/LoadingViewController.cs b/src/iOS.Extension/LoadingViewController.cs index 9d98509fe..d869a4616 100644 --- a/src/iOS.Extension/LoadingViewController.cs +++ b/src/iOS.Extension/LoadingViewController.cs @@ -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); + } }); } diff --git a/src/iOS.Extension/MainInterface.storyboard b/src/iOS.Extension/MainInterface.storyboard index 5a415341b..3e55f2dda 100644 --- a/src/iOS.Extension/MainInterface.storyboard +++ b/src/iOS.Extension/MainInterface.storyboard @@ -42,7 +42,7 @@ - +