Tweak a few things

This commit is contained in:
Kgothatso Ngako
2026-05-01 20:31:22 +02:00
parent dc625ff46a
commit f465e9f9c0
2 changed files with 13 additions and 6 deletions

View File

@@ -77,11 +77,18 @@ data class LocalQuotedNostrEvent(
}
}
RichContent(
nostrEvent = nostrEvent,
localQuotedNostrEvent = null,
mentionedProfiles = mentionedProfiles,
)
Column(
modifier = Modifier.fillMaxWidth().padding(
horizontal = 10.dp
)
) {
RichContent(
nostrEvent = nostrEvent,
localQuotedNostrEvent = null,
mentionedProfiles = mentionedProfiles,
)
}
Row(
modifier = Modifier.fillMaxWidth().padding(20.dp),
horizontalArrangement = Arrangement.Start

View File

@@ -115,7 +115,7 @@ internal fun ImageWithContextMenu(meta: MediaMeta, onFullScreen: () -> Unit) {
}
}
private fun parseAspectRatio(dim: String?): Float? {
internal fun parseAspectRatio(dim: String?): Float? {
if (dim == null) return null
val parts = dim.split('x')
if (parts.size != 2) return null