fix: correct touch area offset in Profile Switcher Tab

- Applied `Modifier.fillMaxSize()` to `CollectionCardRemoteImage` inside `PopupProfileBubble` and `ActiveProfileMiniAvatar`.
- Removed redundant clipping layers that displaced the touch area for Native iOS views within the bottom navigation and popup switcher.
This commit is contained in:
Luqman Fadlli 2026-05-26 14:01:49 +07:00 committed by GitHub
parent 6f5c865a55
commit 2eaab2f545
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -508,7 +508,7 @@ private fun PopupProfileBubble(
CollectionCardRemoteImage(
imageUrl = avatarImageUrl,
contentDescription = profile.name,
modifier = Modifier.size(48.dp).clip(CircleShape),
modifier = Modifier.fillMaxSize(),
contentScale = ContentScale.Crop,
animateIfPossible = true,
)
@ -823,7 +823,7 @@ fun ActiveProfileMiniAvatar(
CollectionCardRemoteImage(
imageUrl = avatarImageUrl,
contentDescription = profile.name,
modifier = Modifier.size(size.dp).clip(CircleShape),
modifier = Modifier.fillMaxSize(),
contentScale = ContentScale.Crop,
animateIfPossible = true,
)