diff --git a/src/App/Pages/Lock/LockFingerprintPage.cs b/src/App/Pages/Lock/LockFingerprintPage.cs index 836847c6a5..d08dc322e9 100644 --- a/src/App/Pages/Lock/LockFingerprintPage.cs +++ b/src/App/Pages/Lock/LockFingerprintPage.cs @@ -31,6 +31,14 @@ namespace Bit.App.Pages public void Init() { + var fingerprintIcon = new Button + { + Image = "fingerprint", + BackgroundColor = Color.Transparent, + Command = new Command(async () => await CheckFingerprintAsync()), + VerticalOptions = LayoutOptions.CenterAndExpand + }; + var fingerprintButton = new Button { Text = "Use Fingerprint to Unlock", @@ -47,9 +55,12 @@ namespace Bit.App.Pages Style = (Style)Application.Current.Resources["btn-primaryAccent"] }; - var stackLayout = new StackLayout { Padding = new Thickness(30, 40), Spacing = 10 }; - stackLayout.Children.Add(fingerprintButton); - stackLayout.Children.Add(logoutButton); + var stackLayout = new StackLayout + { + Padding = new Thickness(30, 40), + Spacing = 10, + Children = { fingerprintIcon, fingerprintButton, logoutButton } + }; Title = "Verify Fingerprint"; Content = stackLayout; diff --git a/src/App/Pages/Settings/SettingsCreditsPage.cs b/src/App/Pages/Settings/SettingsCreditsPage.cs index 0acddba043..45fe1013d5 100644 --- a/src/App/Pages/Settings/SettingsCreditsPage.cs +++ b/src/App/Pages/Settings/SettingsCreditsPage.cs @@ -24,7 +24,7 @@ namespace Bit.App.Pages new TableSection("Icons") { new CustomViewCell(@"Tools by Alex Auda Samora from the Noun Project -") +Fingerprint by masterpage.com from the Noun Project") } } }; diff --git a/src/iOS/Resources/fingerprint.png b/src/iOS/Resources/fingerprint.png new file mode 100644 index 0000000000..754e39825f Binary files /dev/null and b/src/iOS/Resources/fingerprint.png differ diff --git a/src/iOS/Resources/fingerprint@2x.png b/src/iOS/Resources/fingerprint@2x.png new file mode 100644 index 0000000000..79547a0760 Binary files /dev/null and b/src/iOS/Resources/fingerprint@2x.png differ diff --git a/src/iOS/Resources/fingerprint@3x.png b/src/iOS/Resources/fingerprint@3x.png new file mode 100644 index 0000000000..236c8da736 Binary files /dev/null and b/src/iOS/Resources/fingerprint@3x.png differ diff --git a/src/iOS/iOS.csproj b/src/iOS/iOS.csproj index 8082a32fb2..0fea0ee2b8 100644 --- a/src/iOS/iOS.csproj +++ b/src/iOS/iOS.csproj @@ -550,6 +550,15 @@ + + + + + + + + +