fix: Undo unwanted changes

This commit is contained in:
Myzel394 2024-05-15 20:01:44 +02:00
parent b13876dcdd
commit f3e31da67c
No known key found for this signature in database
GPG Key ID: DEC4AAB876F73185
2 changed files with 36 additions and 0 deletions

View File

@ -329,6 +329,14 @@ private fun SettingsScreen(
) )
} }
if (BuildConfig.STORE_LINK.isNotEmpty()) {
ListItem(
icon = Icons.Default.RateReview,
headlineText = stringResource(R.string.settings_rate_this_app),
modifier = Modifier.clickable { openLink(mContext, BuildConfig.STORE_LINK) },
)
}
ListItem( ListItem(
icon = Icons.Default.Info, icon = Icons.Default.Info,
headlineText = stringResource(R.string.settings_about_unitto), headlineText = stringResource(R.string.settings_about_unitto),

View File

@ -85,6 +85,34 @@ private fun AboutScreen(
) )
} }
// TERMS AND CONDITIONS
// item {
// ListItem(
// icon = Icons.Default.PrivacyTip,
// headlineText = stringResource(R.string.settings_terms_and_conditions),
// modifier = Modifier.clickable {
// openLink(
// mContext,
// "https://sadellie.github.io/unitto/terms",
// )
// },
// )
// }
// PRIVACY POLICY
item {
ListItem(
icon = Icons.Default.Policy,
headlineText = stringResource(R.string.settings_privacy_policy),
modifier = Modifier.clickable {
openLink(
mContext,
"https://github.com/Myzel394/NumberHub/blob/master/PRIVACY.md",
)
},
)
}
// OPEN SOURCE // OPEN SOURCE
item { item {
ListItem( ListItem(