mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-08-18 13:26:09 +00:00
fix: correct touch area offset on Profile Edit Screen
- Removed redundant `clip` and `size` modifiers from `CollectionCardRemoteImage` in `ProfileIdentityCard` and `AvatarChoiceItem`. - Used `Modifier.fillMaxSize()` to inherit parent shape constraints, fixing the touch offset issue on iOS devices without affecting Android.
This commit is contained in:
parent
2eaab2f545
commit
fd1cbf45ff
1 changed files with 2 additions and 2 deletions
|
|
@ -412,7 +412,7 @@ private fun ProfileIdentityCard(
|
|||
CollectionCardRemoteImage(
|
||||
imageUrl = customAvatarUrl,
|
||||
contentDescription = name,
|
||||
modifier = Modifier.size(88.dp).clip(CircleShape),
|
||||
modifier = Modifier.fillMaxSize(),
|
||||
contentScale = ContentScale.Crop,
|
||||
animateIfPossible = true,
|
||||
)
|
||||
|
|
@ -420,7 +420,7 @@ private fun ProfileIdentityCard(
|
|||
AsyncImage(
|
||||
model = avatarStorageUrl(selectedAvatar.storagePath),
|
||||
contentDescription = selectedAvatar.displayName,
|
||||
modifier = Modifier.fillMaxSize(),
|
||||
modifier = Modifier.size(88.dp).clip(CircleShape),
|
||||
contentScale = ContentScale.Crop,
|
||||
)
|
||||
} else if (name.isNotBlank()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue