Commit e491a31f authored by Michele Mancina's avatar Michele Mancina Committed by Chromium LUCI CQ

[AutofillAssistant] Switch from the now deprecated TextSmall_Disabled text...

[AutofillAssistant] Switch from the now deprecated TextSmall_Disabled text style to the textsmall_secondary.

Screenshot of the before and after, which received our UX greelight, is in the linked bug.

Bug: 1118226
Change-Id: I19a04fe6bb79597d62fff05b9d41e00051abf533
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2567167
Auto-Submit: Michele Mancina <micantox@google.com>
Reviewed-by: default avatarClemens Arbesser <arbesser@google.com>
Commit-Queue: Michele Mancina <micantox@google.com>
Cr-Commit-Position: refs/heads/master@{#833314}
parent d31fe6ec
...@@ -209,9 +209,9 @@ class AssistantDetailsViewBinder ...@@ -209,9 +209,9 @@ class AssistantDetailsViewBinder
details.getHighlightLine2(), R.style.TextAppearance_TextMedium_Secondary); details.getHighlightLine2(), R.style.TextAppearance_TextMedium_Secondary);
// TODO(crbug.com/1118226): Update the styles that use *_Disabled with UX guidance. // TODO(crbug.com/1118226): Update the styles that use *_Disabled with UX guidance.
setTextStyle(viewHolder.mDescriptionLine3View, details.getUserApprovalRequired(), setTextStyle(viewHolder.mDescriptionLine3View, details.getUserApprovalRequired(),
details.getHighlightLine3(), R.style.TextAppearance_TextSmall_Disabled); details.getHighlightLine3(), R.style.TextAppearance_TextSmall_Secondary);
setTextStyle(viewHolder.mPriceAttributionView, details.getUserApprovalRequired(), setTextStyle(viewHolder.mPriceAttributionView, details.getUserApprovalRequired(),
details.getHighlightLine3(), R.style.TextAppearance_TextSmall_Disabled); details.getHighlightLine3(), R.style.TextAppearance_TextSmall_Secondary);
setTextStyle(viewHolder.mTotalPriceLabelView, details.getUserApprovalRequired(), setTextStyle(viewHolder.mTotalPriceLabelView, details.getUserApprovalRequired(),
/* highlight= */ false, R.style.TextAppearance_TextMedium_Secondary); /* highlight= */ false, R.style.TextAppearance_TextMedium_Secondary);
setTextStyle(viewHolder.mTotalPriceView, details.getUserApprovalRequired(), setTextStyle(viewHolder.mTotalPriceView, details.getUserApprovalRequired(),
......
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