Skip to content

Commit

Permalink
Update privacy policy and terms and conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
egorikftp committed Nov 22, 2024
1 parent 6f99379 commit 941b82e
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 124 deletions.
65 changes: 0 additions & 65 deletions PrivacyPolicy.md

This file was deleted.

5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
</h2>

<p align="center">
<a target="_blank" href="https://github.com/egorikftp/GrodnoRoads/stargazers"><img src="https://img.shields.io/github/stars/egorikftp/GrodnoRoads.svg"></a>
<a href="https://github.com/egorikftp/GrodnoRoads/network"><img alt="API" src="https://img.shields.io/github/forks/egorikftp/GrodnoRoads.svg"/></a>
<a target="_blank" href="https://github.com/egorikftp/GrodnoRoads/blob/release/LICENSE"><img src="https://img.shields.io/github/license/egorikftp/GrodnoRoads.svg"></a>
<a target="_blank" href="https://github.com/BehindWheel/BehindWheelKMP/stargazers"><img src="https://img.shields.io/github/stars/egorikftp/GrodnoRoads.svg"></a>
<a target="_blank" href="https://github.com/BehindWheel/BehindWheelKMP/blob/release/LICENSE"><img src="https://img.shields.io/github/license/BehindWheel/BehindWheelKMP.svg"></a>
<a target="_blank" href="https://t.me/grodno_roads"><img src="https://img.shields.io/badge/Telegram%20Channel-blue"></a>
</p>

Expand Down
36 changes: 0 additions & 36 deletions TermsConditions.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<string name="camera_info_last_update">Абноўлена %1$s</string>
<string name="camera_info_report">Паведаміць пра памылку</string>

<string name="terms_of_service">Умовы выкарыстання</string>
<string name="terms_of_conditions">Умовы выкарыстання</string>
<string name="privacy_policy">Палітыка прыватнасці</string>
<string name="social_telegram_chat">Чат</string>
<string name="social_telegram_channel">Канал</string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<string name="camera_info_last_update">Обновлено %1$s</string>
<string name="camera_info_report">Сообщить об ошибке</string>

<string name="terms_of_service">Условия использования</string>
<string name="terms_of_conditions">Условия использования</string>
<string name="privacy_policy">Политика конфиденциальности</string>

<string name="social_telegram_chat">Чатик</string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<string name="camera_info_last_update">Updated %1$s</string>
<string name="camera_info_report">Report an error</string>

<string name="terms_of_service">Terms of Service</string>
<string name="terms_of_conditions">Terms of Conditions</string>
<string name="privacy_policy">Privacy Policy</string>

<string name="social_telegram_chat">Chat</string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package com.egoriku.grodnoroads.compose.resources

object Constants {
const val BULLET_SEPARATOR = ""
const val TERMS_OF_SERVICE_LINK = "https://github.com/egorikftp/GrodnoRoads/blob/master/TermsConditions.md"
const val PRIVACY_POLICY_LINK = "https://github.com/egorikftp/GrodnoRoads/blob/master/PrivacyPolicy.md"
const val TERMS_OF_CONDITIONS_LINK = "https://github.com/BehindWheel/legal/blob/main/terms_and_conditions.md"
const val PRIVACY_POLICY_LINK = "https://github.com/BehindWheel/legal/blob/main/privacy_policy.md"
const val TG_CHANNEL_LINK = "https://t.me/grodno_roads"
const val TG_CHAT_LINK = "https://t.me/grodnoroads_chat"
const val PLAY_STORE_LINK = "https://play.google.com/store/apps/details?id=com.egoriku.grodnoroads"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import com.egoriku.grodnoroads.compose.resources.Constants.BULLET_SEPARATOR
import com.egoriku.grodnoroads.compose.resources.Constants.PRIVACY_POLICY_LINK
import com.egoriku.grodnoroads.compose.resources.Constants.TERMS_OF_SERVICE_LINK
import com.egoriku.grodnoroads.compose.resources.Constants.TERMS_OF_CONDITIONS_LINK
import com.egoriku.grodnoroads.compose.resources.Res
import com.egoriku.grodnoroads.compose.resources.privacy_policy
import com.egoriku.grodnoroads.compose.resources.terms_of_service
import com.egoriku.grodnoroads.compose.resources.terms_of_conditions
import com.egoriku.grodnoroads.foundation.preview.GrodnoRoadsM3ThemePreview
import com.egoriku.grodnoroads.foundation.preview.PreviewGrodnoRoads
import com.egoriku.grodnoroads.foundation.uikit.button.TextButton
Expand All @@ -33,8 +33,8 @@ fun PrivacyPolicySection(modifier: Modifier = Modifier) {
) {
LinkButton(
openUrl = uriHandler::openUri,
description = stringResource(Res.string.terms_of_service),
url = TERMS_OF_SERVICE_LINK
description = stringResource(Res.string.terms_of_conditions),
url = TERMS_OF_CONDITIONS_LINK
)
Text(
text = BULLET_SEPARATOR,
Expand Down

This file was deleted.

0 comments on commit 941b82e

Please sign in to comment.