Files
amethyst/commonsUI
Claude 962d129bd9 fix(ui): make the last five FABs circular
Audited all 76 FloatingActionButton call sites: 65 already passed
shape = CircleShape, five did not and inherited Material3's defaults --
RoundedCornerShape(16.dp) for a regular FAB, 12.dp for a small one. Both read
as rounded squares, which this app uses nowhere.

  MarkdownToolbar x2   SmallFloatingActionButton, the long-form editor's whole
                       toolbar row, which is where they are most visible
  BuzzCanvasScreen x2  plain FABs, no shape
  home/NewChessGameButton  plain FAB, no shape

The convention was only ever held together by copy-paste -- nothing enforced
it, so a FAB written from the Material3 API rather than from a neighbouring
file came out square. That is exactly how the geocaching one went wrong too.

home/NewChessGameButton appears to be an unreferenced duplicate: ChessLobbyScreen
resolves to the same-package chess/ copy, which was already circular. Its shape
is fixed here rather than deleting the file, which is a maintainer's call.

The ten ExtendedFloatingActionButtons are deliberately untouched -- those are
correctly pill-shaped, and a first pass nearly flagged them because the naive
grep matches FloatingActionButton as a substring.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WG7T9hAHDMKPaHsWvqySEr
2026-09-21 12:09:09 +00:00
..