Tweak a few things
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user