Let TitleAndIcon take an attributed subtitle

Add an AttributedString subtitle initialiser to Compound's TitleAndIcon,
with the existing String initialiser forwarding to it so current call
sites are unchanged. Add a preview state with a bold run and re-record
the titleAndIcon snapshots.

This lets screens with partially bold copy, such as the multi-account
announcement, use TitleAndIcon instead of rebuilding its layout.
This commit is contained in:
Mauro Romito
2026-10-05 14:34:39 +02:00
committed by Mauro
parent 8a6e297cba
commit 1b06ca0dcd
3 changed files with 30 additions and 5 deletions
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a462bcf49cb01edc5dd987b35fbeed8f22afb1beb821c066aa8b048da5a78285
size 98742
oid sha256:3b3d90b0039c941cee3aa00bb89612a1be3582c5de5bee214387e0b6eef744a1
size 111386
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:77ef2e1f94fa765e37b2a51127fe641a60c0049561a32c64ac228665195c0764
size 56729
oid sha256:1a8e5eff7ee490a58fc775d54542c26fd3e01a0ba0fddb7f986537243c963818
size 68065