mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-09 15:38:42 +01:00
fix: user header appearance
This commit is contained in:
parent
41597a8b03
commit
db81272fc0
@ -42,16 +42,13 @@ fun UserHeader(
|
||||
onOpenBookmarks: (() -> Unit)? = null,
|
||||
) {
|
||||
Box(
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.aspectRatio(4.5f)
|
||||
.padding(Spacing.xs),
|
||||
modifier = Modifier.padding(Spacing.xs),
|
||||
) {
|
||||
// banner
|
||||
val banner = user.banner.orEmpty()
|
||||
if (banner.isNotEmpty()) {
|
||||
CustomImage(
|
||||
modifier = Modifier.fillMaxSize(),
|
||||
modifier = Modifier.fillMaxWidth().aspectRatio(4.5f),
|
||||
url = banner,
|
||||
quality = FilterQuality.Low,
|
||||
contentScale = ContentScale.FillBounds,
|
||||
|
Loading…
x
Reference in New Issue
Block a user