From 6309aa1711f4b5ccfebcc42ad798132e976b8bbe Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Fri, 6 Sep 2024 10:02:04 -0400 Subject: [PATCH] Fixes size of default banner when the profile is not loaded yet. --- .../amethyst/ui/screen/loggedIn/profile/ProfileScreen.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/profile/ProfileScreen.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/profile/ProfileScreen.kt index 604781ec5..4cf272133 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/profile/ProfileScreen.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/profile/ProfileScreen.kt @@ -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), ) } }