Commit e2e92213 authored by Javier Ernesto Flores Robles's avatar Javier Ernesto Flores Robles Committed by Commit Bot

[iOS][MF] Add insets to password icon

Bug: 878388
Change-Id: I1326cc2cc851efcb8ec4e873f0c6aa62710d30cf
Reviewed-on: https://chromium-review.googlesource.com/c/1344056Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Commit-Queue: Javier Ernesto Flores Robles <javierrobles@chromium.org>
Cr-Commit-Position: refs/heads/master@{#609992}
parent 1d6745b2
...@@ -144,6 +144,7 @@ static NSTimeInterval MFAnimationDuration = 0; ...@@ -144,6 +144,7 @@ static NSTimeInterval MFAnimationDuration = 0;
self.passwordButton.accessibilityIdentifier = self.passwordButton.accessibilityIdentifier =
manual_fill::AccessoryPasswordAccessibilityIdentifier; manual_fill::AccessoryPasswordAccessibilityIdentifier;
self.passwordButton.hidden = self.isPasswordButtonHidden; self.passwordButton.hidden = self.isPasswordButtonHidden;
self.passwordButton.contentEdgeInsets = UIEdgeInsetsMake(0, 2, 0, 2);
self.passwordButton.accessibilityLabel = self.passwordButton.accessibilityLabel =
l10n_util::GetNSString(IDS_IOS_MANUAL_FALLBACK_SHOW_PASSWORDS); l10n_util::GetNSString(IDS_IOS_MANUAL_FALLBACK_SHOW_PASSWORDS);
[icons addObject:self.passwordButton]; [icons addObject:self.passwordButton];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment