mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-27 08:17:50 +02:00
Fixes size of default banner when the profile is not loaded yet.
This commit is contained in:
@@ -1519,6 +1519,7 @@ fun DrawBanner(
|
||||
model = banner,
|
||||
contentDescription = stringRes(id = R.string.profile_image),
|
||||
contentScale = ContentScale.FillWidth,
|
||||
placeholder = painterResource(R.drawable.profile_banner),
|
||||
modifier =
|
||||
Modifier
|
||||
.fillMaxWidth()
|
||||
@@ -1544,7 +1545,7 @@ fun DrawBanner(
|
||||
modifier =
|
||||
Modifier
|
||||
.fillMaxWidth()
|
||||
.height(125.dp),
|
||||
.height(150.dp),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user