mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-20 21:51:23 +02:00
Adds default banner image to LongFormPosts if none is found
This commit is contained in:
@@ -616,7 +616,14 @@ private fun LongFormHeader(noteEvent: LongTextNoteEvent, note: Note, loggedIn: U
|
||||
contentScale = ContentScale.FillWidth,
|
||||
modifier = Modifier.fillMaxWidth()
|
||||
)
|
||||
}
|
||||
} ?: Image(
|
||||
painter = painterResource(R.drawable.profile_banner),
|
||||
contentDescription = stringResource(R.string.profile_banner),
|
||||
contentScale = ContentScale.FillWidth,
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.height(150.dp)
|
||||
)
|
||||
|
||||
Box(
|
||||
Modifier
|
||||
|
Reference in New Issue
Block a user