Skip to content

fix(chat): put the muted chip under a person's profile actions - #1611

Merged
bmc08gt merged 1 commit into
code/cashfrom
fix/profile-mute-chip-placement
Sep 28, 2026
Merged

bmc08gt merged 1 commit into
code/cashfrom
fix/profile-mute-chip-placement

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Sep 28, 2026

Copy link
Copy Markdown
Collaborator

Follow-up to #1608. Since that PR, every person's profile has the Share action, so on a DM's profile the muted chip dropped its held line (reserveSpace = shortcuts == null) and muting pushed Message/Share and the rows below down by the chip's height.

  • ProfileHeader now draws the actions 25dp under the join date, then the chip 16dp under them with its line held, only on the DM's own person (where viewerState is passed). Muting and unmuting no longer move anything, and the actions sit at the same height on every person's profile.
  • Matches iOS in feat(deeplink): open a person link on their profile code-ios-app#897. The 16dp gap was set by eye on device there, not taken from a design.
  • Group profiles are unchanged.

On a DM's profile the chip sat above Message/Share, and since every
person profile now has those actions it dropped its held line there, so
muting pushed the actions and rows down. The actions now sit 25dp under
the join date on every person profile, and the chip follows 16dp below
them with its line held, so mute and unmute no longer move anything.
Matches iOS (code-ios-app#897).
@bmc08gt bmc08gt self-assigned this Sep 28, 2026
@github-actions github-actions Bot added the type: fix Bug fix label Sep 28, 2026
@bmc08gt
bmc08gt merged commit 970c515 into code/cash Sep 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant