mirror of
https://github.com/bitwarden/mobile
synced 2025-12-14 23:33:34 +00:00
use fingerprintButtonText on extension unlock
This commit is contained in:
@@ -84,9 +84,6 @@ namespace Bit.iOS.Core.Controllers
|
|||||||
|
|
||||||
if(_fingerprintLock)
|
if(_fingerprintLock)
|
||||||
{
|
{
|
||||||
var fingerprintButtonText = _deviceActionService.SupportsFaceId() ? AppResources.UseFaceIDToUnlock :
|
|
||||||
AppResources.UseFingerprintToUnlock;
|
|
||||||
// TODO: set button text
|
|
||||||
var tasks = Task.Run(async () =>
|
var tasks = Task.Run(async () =>
|
||||||
{
|
{
|
||||||
await Task.Delay(500);
|
await Task.Delay(500);
|
||||||
@@ -252,9 +249,11 @@ namespace Bit.iOS.Core.Controllers
|
|||||||
{
|
{
|
||||||
if(indexPath.Row == 0)
|
if(indexPath.Row == 0)
|
||||||
{
|
{
|
||||||
|
var fingerprintButtonText = _controller._deviceActionService.SupportsFaceId() ?
|
||||||
|
AppResources.UseFaceIDToUnlock : AppResources.UseFingerprintToUnlock;
|
||||||
var cell = new ExtendedUITableViewCell();
|
var cell = new ExtendedUITableViewCell();
|
||||||
cell.TextLabel.TextColor = ThemeHelpers.PrimaryColor;
|
cell.TextLabel.TextColor = ThemeHelpers.PrimaryColor;
|
||||||
cell.TextLabel.Text = AppResources.UseFingerprintToUnlock;
|
cell.TextLabel.Text = fingerprintButtonText;
|
||||||
return cell;
|
return cell;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user