From 5f29fc8f896c2b5a332c91681f17df38dcc67189 Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Thu, 27 Jan 2022 18:13:23 +0100 Subject: [PATCH] Update FA icons on LockPasswordViewController (#1729) Co-authored-by: Jacob Fink --- src/iOS.Core/Controllers/LockPasswordViewController.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/iOS.Core/Controllers/LockPasswordViewController.cs b/src/iOS.Core/Controllers/LockPasswordViewController.cs index f35d9b64b..00a53266d 100644 --- a/src/iOS.Core/Controllers/LockPasswordViewController.cs +++ b/src/iOS.Core/Controllers/LockPasswordViewController.cs @@ -14,6 +14,7 @@ using Bit.Core.Enums; using Bit.App.Pages; using Bit.App.Models; using Xamarin.Forms; +using Bit.Core; namespace Bit.iOS.Core.Controllers { @@ -151,11 +152,11 @@ namespace Bit.iOS.Core.Controllers { MasterPasswordCell.TextField.KeyboardType = UIKeyboardType.NumberPad; } - MasterPasswordCell.Button.TitleLabel.Font = UIFont.FromName("FontAwesome", 28f); - MasterPasswordCell.Button.SetTitle("\uf06e", UIControlState.Normal); + MasterPasswordCell.Button.TitleLabel.Font = UIFont.FromName("bwi-font", 28f); + MasterPasswordCell.Button.SetTitle(BitwardenIcons.Eye, UIControlState.Normal); MasterPasswordCell.Button.TouchUpInside += (sender, e) => { MasterPasswordCell.TextField.SecureTextEntry = !MasterPasswordCell.TextField.SecureTextEntry; - MasterPasswordCell.Button.SetTitle(MasterPasswordCell.TextField.SecureTextEntry ? "\uf06e" : "\uf070", UIControlState.Normal); + MasterPasswordCell.Button.SetTitle(MasterPasswordCell.TextField.SecureTextEntry ? BitwardenIcons.Eye : BitwardenIcons.EyeSlash, UIControlState.Normal); }; }