Center extension name in ExtensionDetailsScreen (#8407)

This commit is contained in:
AntsyLich 2022-11-01 22:03:31 +06:00 committed by GitHub
parent 3222247969
commit 999bd4efee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -225,6 +225,7 @@ private fun DetailsHeader(
Text( Text(
text = extension.name, text = extension.name,
style = MaterialTheme.typography.headlineSmall, style = MaterialTheme.typography.headlineSmall,
textAlign = TextAlign.Center,
) )
val strippedPkgName = extension.pkgName.substringAfter("eu.kanade.tachiyomi.extension.") val strippedPkgName = extension.pkgName.substringAfter("eu.kanade.tachiyomi.extension.")