From 961e23f0b81a9b0a72e0905cb2f41a0ca1857e34 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 17 May 2019 09:46:36 -0400 Subject: [PATCH] face id strings --- src/App/Pages/Accounts/LockPageViewModel.cs | 3 ++- src/App/Services/MobilePlatformUtilsService.cs | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/App/Pages/Accounts/LockPageViewModel.cs b/src/App/Pages/Accounts/LockPageViewModel.cs index ed0854b0f..6b96c07ac 100644 --- a/src/App/Pages/Accounts/LockPageViewModel.cs +++ b/src/App/Pages/Accounts/LockPageViewModel.cs @@ -88,7 +88,8 @@ namespace Bit.App.Pages if(FingerprintLock) { - FingerprintButtonText = AppResources.UseFingerprintToUnlock; // TODO: FaceID text + FingerprintButtonText = _deviceActionService.SupportsFaceId() ? AppResources.UseFaceIDToUnlock : + AppResources.UseFingerprintToUnlock; var tasks = Task.Run(async () => { await Task.Delay(500); diff --git a/src/App/Services/MobilePlatformUtilsService.cs b/src/App/Services/MobilePlatformUtilsService.cs index efbbec660..f0f6c31da 100644 --- a/src/App/Services/MobilePlatformUtilsService.cs +++ b/src/App/Services/MobilePlatformUtilsService.cs @@ -207,8 +207,8 @@ namespace Bit.App.Services { if(text == null) { - text = AppResources.FingerprintDirection; - // TODO: face id direction + text = _deviceActionService.SupportsFaceId() ? AppResources.FaceIDDirection : + AppResources.FingerprintDirection; } var fingerprintRequest = new AuthenticationRequestConfiguration(text) {