1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-10 05:13:31 +00:00

Enhanced autofill settings (#1150)

* enhanced autofill settings

* cleanup
This commit is contained in:
Matt Portune
2020-11-17 09:37:57 -05:00
committed by GitHub
parent edab722a76
commit c71deb5051
40 changed files with 533 additions and 391 deletions

View File

@@ -326,22 +326,10 @@ namespace Bit.App.Pages
var autofillItems = new List<SettingsPageListItem>();
if (Device.RuntimePlatform == Device.Android)
{
if (_deviceActionService.SupportsAutofillService())
{
autofillItems.Add(new SettingsPageListItem
{
Name = AppResources.AutofillService,
SubLabel = _deviceActionService.AutofillServiceEnabled() ?
AppResources.Enabled : AppResources.Disabled
});
}
var accessibilityEnabled = _deviceActionService.AutofillAccessibilityServiceRunning() &&
_deviceActionService.AutofillAccessibilityOverlayPermitted();
autofillItems.Add(new SettingsPageListItem
{
Name = AppResources.AutofillAccessibilityService,
SubLabel = accessibilityEnabled ?
Name = AppResources.AutofillServices,
SubLabel = _deviceActionService.AutofillServicesEnabled() ?
AppResources.Enabled : AppResources.Disabled
});
}