mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-18 19:10:44 +02:00
Adds some margin for reply quotes
This commit is contained in:
@@ -148,14 +148,6 @@ fun ZoomableContentView(content: ZoomableContent, images: List<ZoomableContent>
|
|||||||
)
|
)
|
||||||
|
|
||||||
if (content is ZoomableImage) {
|
if (content is ZoomableImage) {
|
||||||
if (imageState !is AsyncImagePainter.State.Success) {
|
|
||||||
if (content.bluehash != null) {
|
|
||||||
DisplayBlueHash(content, mainImageModifier)
|
|
||||||
} else {
|
|
||||||
DisplayUrlWithLoadingSymbol(content)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Box() {
|
Box() {
|
||||||
AsyncImage(
|
AsyncImage(
|
||||||
model = content.url,
|
model = content.url,
|
||||||
@@ -174,6 +166,14 @@ fun ZoomableContentView(content: ZoomableContent, images: List<ZoomableContent>
|
|||||||
HashVerificationSymbol(verifiedHash, Modifier.align(Alignment.TopEnd))
|
HashVerificationSymbol(verifiedHash, Modifier.align(Alignment.TopEnd))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (imageState !is AsyncImagePainter.State.Success) {
|
||||||
|
if (content.bluehash != null) {
|
||||||
|
DisplayBlueHash(content, mainImageModifier)
|
||||||
|
} else {
|
||||||
|
DisplayUrlWithLoadingSymbol(content)
|
||||||
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
VideoView(content.url) { dialogOpen = true }
|
VideoView(content.url) { dialogOpen = true }
|
||||||
}
|
}
|
||||||
|
@@ -375,7 +375,7 @@ fun NoteComposeInner(
|
|||||||
baseNote = replyingDirectlyTo,
|
baseNote = replyingDirectlyTo,
|
||||||
isQuotedNote = true,
|
isQuotedNote = true,
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.padding(0.dp)
|
.padding(top = 5.dp)
|
||||||
.fillMaxWidth()
|
.fillMaxWidth()
|
||||||
.clip(shape = RoundedCornerShape(15.dp))
|
.clip(shape = RoundedCornerShape(15.dp))
|
||||||
.border(
|
.border(
|
||||||
|
Reference in New Issue
Block a user