mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-12 01:07:46 +00:00
Ninth batch of the note-ui-commons extraction, completing the podcast display family (badge/link/soundbite atoms landed earlier). - commons/ui/note/PodcastValueSplits.kt: the Podcasting-2.0 value-for-value split breakdown card (header, split hint, one row per recipient with its percentage). Pure value-in — takes a quartz PodcastValue. - commons/ui/theme: adds ColorScheme.grayText (onSurface @52%); reuses the Size5dp added with the ActivityCard batch. - Consumers (PodcastEpisode, PodcastMetadata) re-point to commons. Strings: podcast_value_zap_split_hint is renderer-only and moves fully to commons. podcast_value_for_value and podcast_value_split_percent are also used by the native V4V split editor — for_value via an Android-int ResourceToastMsg toast that has no Compose-resource equivalent, and the editor can't reference commons' generated Res until amethyst gains the compose-resources dependency. So those two keys are intentionally duplicated (kept in amethyst for the editor, copied to commons for the shared card). The duplication collapses once amethyst can read commons Res or the editor itself moves; both sources stay in Crowdin meanwhile. Verified: :commons:compileKotlinJvm and :amethyst:compileFdroidDebugKotlin both pass; every touched strings.xml is well-formed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gmrt3jwYPDJ38MJGJ6GaNr