1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-23 11:45:38 +01:00

face id strings

This commit is contained in:
Kyle Spearrin 2019-05-17 09:46:36 -04:00
parent defb67c523
commit 961e23f0b8
2 changed files with 4 additions and 3 deletions

View File

@ -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);

View File

@ -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)
{