kopia lustrzana https://github.com/vitorpamplona/amethyst
Adds some margin for reply quotes
rodzic
9c715dd381
commit
c1d05f8b2f
|
@ -148,14 +148,6 @@ fun ZoomableContentView(content: ZoomableContent, images: List<ZoomableContent>
|
|||
)
|
||||
|
||||
if (content is ZoomableImage) {
|
||||
if (imageState !is AsyncImagePainter.State.Success) {
|
||||
if (content.bluehash != null) {
|
||||
DisplayBlueHash(content, mainImageModifier)
|
||||
} else {
|
||||
DisplayUrlWithLoadingSymbol(content)
|
||||
}
|
||||
}
|
||||
|
||||
Box() {
|
||||
AsyncImage(
|
||||
model = content.url,
|
||||
|
@ -174,6 +166,14 @@ fun ZoomableContentView(content: ZoomableContent, images: List<ZoomableContent>
|
|||
HashVerificationSymbol(verifiedHash, Modifier.align(Alignment.TopEnd))
|
||||
}
|
||||
}
|
||||
|
||||
if (imageState !is AsyncImagePainter.State.Success) {
|
||||
if (content.bluehash != null) {
|
||||
DisplayBlueHash(content, mainImageModifier)
|
||||
} else {
|
||||
DisplayUrlWithLoadingSymbol(content)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
VideoView(content.url) { dialogOpen = true }
|
||||
}
|
||||
|
|
|
@ -375,7 +375,7 @@ fun NoteComposeInner(
|
|||
baseNote = replyingDirectlyTo,
|
||||
isQuotedNote = true,
|
||||
modifier = Modifier
|
||||
.padding(0.dp)
|
||||
.padding(top = 5.dp)
|
||||
.fillMaxWidth()
|
||||
.clip(shape = RoundedCornerShape(15.dp))
|
||||
.border(
|
||||
|
|
Ładowanie…
Reference in New Issue