Open data-sync-user opened 1 year ago
Replace DeviceFontSmall with DefaultDynamicFontHelper.preferredFont(withTextStyle:size:weight:).
DeviceFontSmall
DefaultDynamicFontHelper.preferredFont(withTextStyle:size:weight:)
deviceFontSize
textStyle
.body
weight
.medium
┆Issue is synchronized with this Jira Task
➤ Winnie Teichmann commented:
For QA: Please check that the fonts in breach alerts look correct.
➤ Diana Andreea Barladeanu commented:
Validated on v128(43182), with iPhone 15 (17.5).
Replace
DeviceFontSmall
withDefaultDynamicFontHelper.preferredFont(withTextStyle:size:weight:)
.deviceFontSize
can be assumed to be 16.textStyle
should be chosen considering on the UI element it is used in - in most cases it will be.body
.weight
should be.medium
.DeviceFontSmall
in DynamicFontHelper should be deleted.┆Issue is synchronized with this Jira Task