mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-18 07:11:58 +03:00
Replace Terms and Conditions with Acceptable Use Policy.
This commit is contained in:
parent
93cd197c78
commit
ac65defe56
4 changed files with 4 additions and 2 deletions
1
changelog.d/8286.misc
Normal file
1
changelog.d/8286.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Replace Terms and Conditions with Acceptable Use Policy.
|
|
@ -1002,6 +1002,7 @@
|
||||||
<string name="settings_version">Version</string>
|
<string name="settings_version">Version</string>
|
||||||
<string name="settings_olm_version">olm version</string>
|
<string name="settings_olm_version">olm version</string>
|
||||||
<string name="settings_app_term_conditions">Terms & conditions</string>
|
<string name="settings_app_term_conditions">Terms & conditions</string>
|
||||||
|
<string name="settings_acceptable_use_policy">Acceptable Use Policy</string>
|
||||||
<string name="settings_third_party_notices">Third party notices</string>
|
<string name="settings_third_party_notices">Third party notices</string>
|
||||||
<string name="settings_copyright">Copyright</string>
|
<string name="settings_copyright">Copyright</string>
|
||||||
<string name="settings_privacy_policy">Privacy policy</string>
|
<string name="settings_privacy_policy">Privacy policy</string>
|
||||||
|
|
|
@ -19,7 +19,7 @@ package im.vector.app.features.settings
|
||||||
object VectorSettingsUrls {
|
object VectorSettingsUrls {
|
||||||
const val HELP = "https://element.io/help"
|
const val HELP = "https://element.io/help"
|
||||||
const val COPYRIGHT = "https://element.io/copyright"
|
const val COPYRIGHT = "https://element.io/copyright"
|
||||||
const val TAC = "https://element.io/terms-of-service"
|
const val ACCEPTABLE_USE_POLICY = "https://element.io/acceptable-use-policy-terms"
|
||||||
const val PRIVACY_POLICY = "https://element.io/privacy"
|
const val PRIVACY_POLICY = "https://element.io/privacy"
|
||||||
const val DISCLAIMER_URL = "https://element.io/previously-riot"
|
const val DISCLAIMER_URL = "https://element.io/previously-riot"
|
||||||
const val THIRD_PARTY_LICENSES = "file:///android_asset/open_source_licenses.html"
|
const val THIRD_PARTY_LICENSES = "file:///android_asset/open_source_licenses.html"
|
||||||
|
|
|
@ -31,7 +31,7 @@ class ElementLegals @Inject constructor(
|
||||||
fun getData(): List<ServerPolicy> {
|
fun getData(): List<ServerPolicy> {
|
||||||
return listOf(
|
return listOf(
|
||||||
ServerPolicy(stringProvider.getString(R.string.settings_copyright), VectorSettingsUrls.COPYRIGHT),
|
ServerPolicy(stringProvider.getString(R.string.settings_copyright), VectorSettingsUrls.COPYRIGHT),
|
||||||
ServerPolicy(stringProvider.getString(R.string.settings_app_term_conditions), VectorSettingsUrls.TAC),
|
ServerPolicy(stringProvider.getString(R.string.settings_acceptable_use_policy), VectorSettingsUrls.ACCEPTABLE_USE_POLICY),
|
||||||
ServerPolicy(stringProvider.getString(R.string.settings_privacy_policy), VectorSettingsUrls.PRIVACY_POLICY)
|
ServerPolicy(stringProvider.getString(R.string.settings_privacy_policy), VectorSettingsUrls.PRIVACY_POLICY)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue