diff --git a/src/App/Pages/Accounts/HomePage.xaml b/src/App/Pages/Accounts/HomePage.xaml index 3f5ef4e72..3c5c388dc 100644 --- a/src/App/Pages/Accounts/HomePage.xaml +++ b/src/App/Pages/Accounts/HomePage.xaml @@ -16,7 +16,14 @@ + Clicked="Settings_Clicked"> + + + + + + + (); PageTitle = AppResources.Settings; - - _fingerprintName = AppResources.Fingerprint; - if(Device.RuntimePlatform == Device.iOS) - { - _fingerprintName = _deviceActionService.SupportsFaceId() ? AppResources.FaceID : AppResources.TouchID; - } } public ExtendedObservableCollection GroupedItems { get; set; } @@ -329,9 +322,15 @@ namespace Bit.App.Pages }; if(_supportsFingerprint) { + var fingerprintName = AppResources.Fingerprint; + if(Device.RuntimePlatform == Device.iOS) + { + fingerprintName = _deviceActionService.SupportsFaceId() ? + AppResources.FaceID : AppResources.TouchID; + } var item = new SettingsPageListItem { - Name = string.Format(AppResources.UnlockWith, _fingerprintName), + Name = string.Format(AppResources.UnlockWith, fingerprintName), SubLabel = _fingerprint ? AppResources.Enabled : AppResources.Disabled }; securityItems.Insert(1, item);