useAppFont

fun TextView.useAppFont(weight: Int = FONT_WEIGHT_REGULAR)(source)

Sets the app's typeface (Google Sans Flex) at weight, so an ad's text matches the Compose text around it instead of falling back to the system font.

Before API 28 a variable font cannot be asked for a weight, so 600 and above fall back to bold.