|
|
|
@ -47,6 +47,7 @@ fun AboutView(nav: BackNavigation) {
|
|
|
|
|
.padding(15.dp),
|
|
|
|
|
painter = painterResource(id = R.drawable.ic_tile),
|
|
|
|
|
contentDescription = stringResource(R.string.app_icon_content_description))
|
|
|
|
|
|
|
|
|
|
Column(
|
|
|
|
|
verticalArrangement =
|
|
|
|
|
Arrangement.spacedBy(space = 2.dp, alignment = Alignment.CenterVertically),
|
|
|
|
@ -56,18 +57,16 @@ fun AboutView(nav: BackNavigation) {
|
|
|
|
|
fontWeight = FontWeight.SemiBold,
|
|
|
|
|
fontSize = MaterialTheme.typography.titleLarge.fontSize)
|
|
|
|
|
Text(
|
|
|
|
|
text = BuildConfig.VERSION_NAME,
|
|
|
|
|
text = "${stringResource(R.string.version)} ${BuildConfig.VERSION_NAME}",
|
|
|
|
|
fontWeight = MaterialTheme.typography.bodyMedium.fontWeight,
|
|
|
|
|
fontSize = MaterialTheme.typography.bodyMedium.fontSize)
|
|
|
|
|
}
|
|
|
|
|
Column(
|
|
|
|
|
verticalArrangement =
|
|
|
|
|
Arrangement.spacedBy(space = 4.dp, alignment = Alignment.CenterVertically),
|
|
|
|
|
horizontalAlignment = Alignment.CenterHorizontally) {
|
|
|
|
|
OpenURLButton(stringResource(R.string.acknowledgements), Links.LICENSES_URL)
|
|
|
|
|
OpenURLButton(stringResource(R.string.privacy_policy), Links.PRIVACY_POLICY_URL)
|
|
|
|
|
OpenURLButton(stringResource(R.string.terms_of_service), Links.TERMS_URL)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Column(horizontalAlignment = Alignment.CenterHorizontally) {
|
|
|
|
|
OpenURLButton(stringResource(R.string.acknowledgements), Links.LICENSES_URL)
|
|
|
|
|
OpenURLButton(stringResource(R.string.privacy_policy), Links.PRIVACY_POLICY_URL)
|
|
|
|
|
OpenURLButton(stringResource(R.string.terms_of_service), Links.TERMS_URL)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Text(
|
|
|
|
|
stringResource(R.string.about_view_footnotes),
|
|
|
|
|