mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-11 16:57:39 +00:00
Extends the WoT trust indicator to the Search screen's person-picker results, matching the badges already shown on note-card avatars. - `UserSearchCard` (commons) gains an optional `badge: @Composable (BoxScope.() -> Unit)? = null` param, forwarded to its embedded `UserAvatar` (which has the slot from the WoT PR). Default null → no visual change for callers that don't opt in; Android search screens continue to render as before. - `SearchResultsList` (desktopApp) inlines the score-lookup gates in a small `wotBadgeFor(pubkey)` helper and passes the badge lambda at both person-result call sites (main list + expandable overflow). Same visibility rules as the note-card avatar badges: score > 0, past the 2 s startup readiness gate, and pubkey not in `LocalSpamExemptKeys` (self / already-followed).