use fingerprintButtonText on extension unlock

This commit is contained in:
Kyle Spearrin 2019-07-22 10:24:18 -04:00
parent 762b574d49
commit e7ce050324
1 changed files with 3 additions and 4 deletions

View File

@ -84,9 +84,6 @@ namespace Bit.iOS.Core.Controllers
if(_fingerprintLock)
{
var fingerprintButtonText = _deviceActionService.SupportsFaceId() ? AppResources.UseFaceIDToUnlock :
AppResources.UseFingerprintToUnlock;
// TODO: set button text
var tasks = Task.Run(async () =>
{
await Task.Delay(500);
@ -252,9 +249,11 @@ namespace Bit.iOS.Core.Controllers
{
if(indexPath.Row == 0)
{
var fingerprintButtonText = _controller._deviceActionService.SupportsFaceId() ?
AppResources.UseFaceIDToUnlock : AppResources.UseFingerprintToUnlock;
var cell = new ExtendedUITableViewCell();
cell.TextLabel.TextColor = ThemeHelpers.PrimaryColor;
cell.TextLabel.Text = AppResources.UseFingerprintToUnlock;
cell.TextLabel.Text = fingerprintButtonText;
return cell;
}
}