Fixing weird alignment of the Hightligh post title.

This commit is contained in:
Vitor Pamplona
2023-10-28 15:38:59 -04:00
parent 0e51731f69
commit 712d498788
2 changed files with 3 additions and 8 deletions
@@ -32,14 +32,8 @@ class Amethyst : Application() {
)
StrictMode.setVmPolicy(
VmPolicy.Builder()
.detectActivityLeaks()
.detectFileUriExposure()
.detectContentUriWithoutPermission()
.detectLeakedClosableObjects()
.detectLeakedRegistrationObjects()
.detectLeakedSqlLiteObjects()
.detectAll()
.penaltyLog()
// .penaltyDeath()
.build()
)
}
@@ -2919,6 +2919,7 @@ fun DisplayHighlight(
DisplayQuoteAuthor(authorHex ?: "", url, postAddress, accountViewModel, nav)
}
@OptIn(ExperimentalLayoutApi::class)
@Composable
private fun DisplayQuoteAuthor(
authorHex: String,
@@ -2938,7 +2939,7 @@ private fun DisplayQuoteAuthor(
}
MeasureSpaceWidth {
Row(horizontalArrangement = Arrangement.spacedBy(it), verticalAlignment = Alignment.CenterVertically) {
FlowRow(horizontalArrangement = Arrangement.spacedBy(it), verticalArrangement = Arrangement.Center) {
userBase?.let { userBase ->
LoadAndDisplayUser(userBase, nav)
}