mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-11 00:37:41 +00:00
Merge pull request #3556 from vitorpamplona/claude/left-drawer-banner-crop-bkxw9f
Fix profile banner image scaling from FillWidth to Crop
This commit is contained in:
+2
-2
@@ -237,14 +237,14 @@ fun ProfileContentTemplate(
|
||||
AsyncImage(
|
||||
model = profileBanner,
|
||||
contentDescription = stringRes(id = R.string.profile_image),
|
||||
contentScale = ContentScale.FillWidth,
|
||||
contentScale = ContentScale.Crop,
|
||||
modifier = bannerModifier,
|
||||
)
|
||||
} else {
|
||||
AsyncImage(
|
||||
model = R.drawable.profile_banner,
|
||||
contentDescription = stringResource(R.string.profile_banner),
|
||||
contentScale = ContentScale.FillWidth,
|
||||
contentScale = ContentScale.Crop,
|
||||
modifier = bannerModifier,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user