AboutActivity: Add back no warranty disclaimer (#477)

This was dropped during the Compose rewrite.
Also align the copyright information as it looks better.
This commit is contained in:
Michael Biebl 2023-11-15 17:39:41 +01:00 committed by GitHub
parent a792d4db98
commit 769825b402
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -277,6 +277,15 @@ fun AboutApp(licenseInfoProvider: AboutActivity.AppLicenseInfoProvider? = null)
Text(
stringResource(R.string.about_copyright),
style = MaterialTheme.typography.body1,
textAlign = TextAlign.Center,
modifier = Modifier
.fillMaxWidth()
.padding(vertical = 8.dp)
)
Text(
stringResource(R.string.about_license_info_no_warranty),
style = MaterialTheme.typography.body1,
modifier = Modifier
.fillMaxWidth()
.padding(vertical = 8.dp)