fix: render notify chip avatar via leadingIcon to avoid circle clip

InputChip clips its avatar slot to a circle, which cut off the following
badge that BaseUserPicture draws slightly outside the picture's circle.
Pass the picture through the leadingIcon slot instead, which is not clipped.
This commit is contained in:
Claude
2026-06-13 14:38:40 +00:00
parent 82daed3c55
commit 45ce6f2815
@@ -100,7 +100,10 @@ private fun NotifyUserChip(
accountViewModel = accountViewModel,
)
},
avatar = {
// Use the leadingIcon slot instead of avatar: InputChip clips the avatar slot
// to a circle, which would cut off the following badge that BaseUserPicture
// intentionally draws slightly outside the picture's circle.
leadingIcon = {
BaseUserPicture(user, Size24dp, accountViewModel)
},
trailingIcon = {