Fixing weird alignment of the Hightligh post title.
This commit is contained in:
@@ -32,14 +32,8 @@ class Amethyst : Application() {
|
|||||||
)
|
)
|
||||||
StrictMode.setVmPolicy(
|
StrictMode.setVmPolicy(
|
||||||
VmPolicy.Builder()
|
VmPolicy.Builder()
|
||||||
.detectActivityLeaks()
|
.detectAll()
|
||||||
.detectFileUriExposure()
|
|
||||||
.detectContentUriWithoutPermission()
|
|
||||||
.detectLeakedClosableObjects()
|
|
||||||
.detectLeakedRegistrationObjects()
|
|
||||||
.detectLeakedSqlLiteObjects()
|
|
||||||
.penaltyLog()
|
.penaltyLog()
|
||||||
// .penaltyDeath()
|
|
||||||
.build()
|
.build()
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2919,6 +2919,7 @@ fun DisplayHighlight(
|
|||||||
DisplayQuoteAuthor(authorHex ?: "", url, postAddress, accountViewModel, nav)
|
DisplayQuoteAuthor(authorHex ?: "", url, postAddress, accountViewModel, nav)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@OptIn(ExperimentalLayoutApi::class)
|
||||||
@Composable
|
@Composable
|
||||||
private fun DisplayQuoteAuthor(
|
private fun DisplayQuoteAuthor(
|
||||||
authorHex: String,
|
authorHex: String,
|
||||||
@@ -2938,7 +2939,7 @@ private fun DisplayQuoteAuthor(
|
|||||||
}
|
}
|
||||||
|
|
||||||
MeasureSpaceWidth {
|
MeasureSpaceWidth {
|
||||||
Row(horizontalArrangement = Arrangement.spacedBy(it), verticalAlignment = Alignment.CenterVertically) {
|
FlowRow(horizontalArrangement = Arrangement.spacedBy(it), verticalArrangement = Arrangement.Center) {
|
||||||
userBase?.let { userBase ->
|
userBase?.let { userBase ->
|
||||||
LoadAndDisplayUser(userBase, nav)
|
LoadAndDisplayUser(userBase, nav)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user