mirror of
https://github.com/Myzel394/NumberHub.git
synced 2025-06-19 08:45:27 +02:00
Updated About Unitto screen
* Updated links due to new website * Added GitHub link * Added POEditor link
This commit is contained in:
parent
aa1f5f8e9b
commit
2ffa9f43a2
@ -21,11 +21,13 @@ package com.sadellie.unitto.screens.setttings
|
|||||||
import androidx.compose.foundation.clickable
|
import androidx.compose.foundation.clickable
|
||||||
import androidx.compose.foundation.lazy.LazyColumn
|
import androidx.compose.foundation.lazy.LazyColumn
|
||||||
import androidx.compose.material.icons.Icons
|
import androidx.compose.material.icons.Icons
|
||||||
|
import androidx.compose.material.icons.filled.Code
|
||||||
import androidx.compose.material.icons.filled.Copyright
|
import androidx.compose.material.icons.filled.Copyright
|
||||||
import androidx.compose.material.icons.filled.Help
|
import androidx.compose.material.icons.filled.Help
|
||||||
import androidx.compose.material.icons.filled.Info
|
import androidx.compose.material.icons.filled.Info
|
||||||
import androidx.compose.material.icons.filled.Policy
|
import androidx.compose.material.icons.filled.Policy
|
||||||
import androidx.compose.material.icons.filled.PrivacyTip
|
import androidx.compose.material.icons.filled.PrivacyTip
|
||||||
|
import androidx.compose.material.icons.filled.Translate
|
||||||
import androidx.compose.material3.Icon
|
import androidx.compose.material3.Icon
|
||||||
import androidx.compose.material3.ListItem
|
import androidx.compose.material3.ListItem
|
||||||
import androidx.compose.material3.Text
|
import androidx.compose.material3.Text
|
||||||
@ -89,7 +91,7 @@ fun AboutScreen(
|
|||||||
modifier = Modifier.clickable {
|
modifier = Modifier.clickable {
|
||||||
openLink(
|
openLink(
|
||||||
mContext,
|
mContext,
|
||||||
"http://sadellie.github.io/unitto/terms-app.html"
|
"https://sadellie.github.io/unitto/terms"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
@ -108,7 +110,46 @@ fun AboutScreen(
|
|||||||
modifier = Modifier.clickable {
|
modifier = Modifier.clickable {
|
||||||
openLink(
|
openLink(
|
||||||
mContext,
|
mContext,
|
||||||
"http://sadellie.github.io/unitto/privacy-app.html"
|
"https://sadellie.github.io/unitto/privacy"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
// OPEN SOURCE
|
||||||
|
item {
|
||||||
|
ListItem(
|
||||||
|
leadingContent = {
|
||||||
|
Icon(
|
||||||
|
Icons.Default.Code,
|
||||||
|
stringResource(R.string.open_source),
|
||||||
|
)
|
||||||
|
},
|
||||||
|
headlineText = { Text(stringResource(R.string.open_source)) },
|
||||||
|
modifier = Modifier.clickable {
|
||||||
|
openLink(
|
||||||
|
mContext,
|
||||||
|
"https://github.com/sadellie/unitto"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
// TRANSLATE
|
||||||
|
item {
|
||||||
|
ListItem(
|
||||||
|
leadingContent = {
|
||||||
|
Icon(
|
||||||
|
Icons.Default.Translate,
|
||||||
|
stringResource(R.string.translate_app),
|
||||||
|
)
|
||||||
|
},
|
||||||
|
headlineText = { Text(stringResource(R.string.translate_app)) },
|
||||||
|
supportingText = { Text(stringResource(R.string.translate_app_support)) },
|
||||||
|
modifier = Modifier.clickable {
|
||||||
|
openLink(
|
||||||
|
mContext,
|
||||||
|
"https://poeditor.com/join/project/T4zjmoq8dx"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
@ -703,5 +703,8 @@
|
|||||||
<string name="flux">Поток</string>
|
<string name="flux">Поток</string>
|
||||||
<string name="cent">Цент</string>
|
<string name="cent">Цент</string>
|
||||||
<string name="cent_short">цент</string>
|
<string name="cent_short">цент</string>
|
||||||
|
<string name="open_source">Посмотреть исходный код</string>
|
||||||
|
<string name="translate_app">Перевести приложение</string>
|
||||||
|
<string name="translate_app_support">Помогите с переводом на POEditor</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
@ -965,6 +965,9 @@
|
|||||||
<string name="currency_rates_note_text">Currency rates are updated daily. There\'s no real-time market monitoring in the app</string>
|
<string name="currency_rates_note_text">Currency rates are updated daily. There\'s no real-time market monitoring in the app</string>
|
||||||
<string name="terms_and_conditions">Terms and Conditions</string>
|
<string name="terms_and_conditions">Terms and Conditions</string>
|
||||||
<string name="privacy_policy">Privacy Policy</string>
|
<string name="privacy_policy">Privacy Policy</string>
|
||||||
|
<string name="open_source">View source code</string>
|
||||||
|
<string name="translate_app">Translate this app</string>
|
||||||
|
<string name="translate_app_support">Join POEditor project to help</string>
|
||||||
<string name="third_party_licenses">Third party licenses</string>
|
<string name="third_party_licenses">Third party licenses</string>
|
||||||
<string name="rate_this_app">Rate this app</string>
|
<string name="rate_this_app">Rate this app</string>
|
||||||
<string name="formatting_settings_group">Formatting</string>
|
<string name="formatting_settings_group">Formatting</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user