mirror of
https://github.com/bitwarden/mobile
synced 2026-01-06 02:23:57 +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:
@@ -36,7 +36,7 @@ namespace Bit.iOS.Core.Views
|
||||
|
||||
if(valueChanged)
|
||||
{
|
||||
ValueChanged(this, null);
|
||||
ValueChanged?.Invoke(this, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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; }
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user