diff --git a/src/App/Pages/Lock/LockFingerprintPage.cs b/src/App/Pages/Lock/LockFingerprintPage.cs
index d08dc322e..91f265957 100644
--- a/src/App/Pages/Lock/LockFingerprintPage.cs
+++ b/src/App/Pages/Lock/LockFingerprintPage.cs
@@ -36,7 +36,8 @@ namespace Bit.App.Pages
Image = "fingerprint",
BackgroundColor = Color.Transparent,
Command = new Command(async () => await CheckFingerprintAsync()),
- VerticalOptions = LayoutOptions.CenterAndExpand
+ VerticalOptions = LayoutOptions.CenterAndExpand,
+ Margin = new Thickness(0, 0, 0, 15)
};
var fingerprintButton = new Button
diff --git a/src/iOS.Extension/LockFingerprintViewController.cs b/src/iOS.Extension/LockFingerprintViewController.cs
index ad86bfac6..86a01746b 100644
--- a/src/iOS.Extension/LockFingerprintViewController.cs
+++ b/src/iOS.Extension/LockFingerprintViewController.cs
@@ -59,6 +59,11 @@ namespace Bit.iOS.Extension
LoadingController.CompleteRequest(null);
}
+ partial void FingerprintButton_TouchUpInside(UIButton sender)
+ {
+ var task = CheckFingerprintAsync();
+ }
+
public async Task CheckFingerprintAsync()
{
var result = await _fingerprint.AuthenticateAsync("Use your fingerprint to verify.");
diff --git a/src/iOS.Extension/LockFingerprintViewController.designer.cs b/src/iOS.Extension/LockFingerprintViewController.designer.cs
index 2c5e36cf9..46b2af750 100644
--- a/src/iOS.Extension/LockFingerprintViewController.designer.cs
+++ b/src/iOS.Extension/LockFingerprintViewController.designer.cs
@@ -18,13 +18,21 @@ namespace Bit.iOS.Extension
[GeneratedCode ("iOS Designer", "1.0")]
UIKit.UIBarButtonItem CancelButton { get; set; }
+ [Outlet]
+ [GeneratedCode ("iOS Designer", "1.0")]
+ UIKit.UIButton FingerprintButton { get; set; }
+
[Outlet]
[GeneratedCode ("iOS Designer", "1.0")]
UIKit.UIButton UseButton { get; set; }
- [Action ("CancelButton_Activated:")]
+ [Action ("FingerprintButton_TouchUpInside:")]
[GeneratedCode ("iOS Designer", "1.0")]
- partial void CancelButton_Activated (UIKit.UIBarButtonItem sender);
+ partial void FingerprintButton_TouchUpInside (UIKit.UIButton sender);
+
+ [Action("CancelButton_Activated:")]
+ [GeneratedCode("iOS Designer", "1.0")]
+ partial void CancelButton_Activated(UIKit.UIBarButtonItem sender);
void ReleaseDesignerOutlets ()
{
@@ -33,6 +41,11 @@ namespace Bit.iOS.Extension
CancelButton = null;
}
+ if (FingerprintButton != null) {
+ FingerprintButton.Dispose ();
+ FingerprintButton = null;
+ }
+
if (UseButton != null) {
UseButton.Dispose ();
UseButton = null;
diff --git a/src/iOS.Extension/MainInterface.storyboard b/src/iOS.Extension/MainInterface.storyboard
index 2ee924df9..49af75bd9 100644
--- a/src/iOS.Extension/MainInterface.storyboard
+++ b/src/iOS.Extension/MainInterface.storyboard
@@ -339,12 +339,25 @@
+
+
+
@@ -357,6 +370,7 @@
+
@@ -589,5 +603,6 @@
+
\ No newline at end of file
diff --git a/src/iOS.Extension/Resources/fingerprint.png b/src/iOS.Extension/Resources/fingerprint.png
new file mode 100644
index 000000000..754e39825
Binary files /dev/null and b/src/iOS.Extension/Resources/fingerprint.png differ
diff --git a/src/iOS.Extension/Resources/fingerprint@2x.png b/src/iOS.Extension/Resources/fingerprint@2x.png
new file mode 100644
index 000000000..79547a076
Binary files /dev/null and b/src/iOS.Extension/Resources/fingerprint@2x.png differ
diff --git a/src/iOS.Extension/Resources/fingerprint@3x.png b/src/iOS.Extension/Resources/fingerprint@3x.png
new file mode 100644
index 000000000..236c8da73
Binary files /dev/null and b/src/iOS.Extension/Resources/fingerprint@3x.png differ
diff --git a/src/iOS.Extension/iOS.Extension.csproj b/src/iOS.Extension/iOS.Extension.csproj
index a65f4ee7a..fa3483e53 100644
--- a/src/iOS.Extension/iOS.Extension.csproj
+++ b/src/iOS.Extension/iOS.Extension.csproj
@@ -230,6 +230,9 @@
+
+
+