Files
amethyst/commonsUI
Claude 97136c2267 refactor: share SafeImeInsets, DisappearingScaffold, emoji text and the user name text
- SafeImeInsets moves to commonsUI androidMain unchanged; its test moves
  to androidHostTest. rememberSafeImeInsets() is now an expect returning
  WindowInsets (WindowInsets.ime on desktop and iOS), and
  Modifier.imePaddingSafe() is shared in commonMain. 82 app files repoint
  their imports.
- DisappearingScaffold moves to commonsUI commonMain. The account read
  becomes an immersiveScrolling lambda and the large-screen pin folds
  into allowBarHide; the app keeps a wrapper with the old signature, so
  its callers are unchanged. The OS status-bar hiding is an expect with an
  Android actual and a no-op on desktop and iOS. getActivityWindow and
  getDialogWindow move to commonsUI androidMain for it.
- CustomEmojiChecker, CreateTextWithEmoji, the route-less
  CreateClickableTextWithEmoji and ClickableInLineIconRenderer move next
  to the shared InLineIconRenderer, which gains maxLines/overflow. The
  app's own InLineIconRenderer copy is deleted: it remembered its text
  with no keys, so a slot whose emoji list changed kept the old text.
- UsernameDisplay's display half becomes commonsUI UserNameText (name
  with emojis, or the npub fallback, now remembered per user). The app
  keeps the petname and crossfade reads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0168wY9t7i9NC5u3svyMxEz6
2026-09-24 12:39:24 +00:00
..