diff --git a/README.md b/README.md index a6ba292..5a4d079 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # PI -[![release](https://img.shields.io/github/v/release/SanmerApps/PI?label=release&color=red)](https://github.com/SanmerApps/PI/releases) [![download](https://shields.io/github/downloads/SanmerApps/PI/total?label=download)](https://github.com/SanmerApps/PI/releases/latest) [![translated](https://weblate.sanmer.app/widget/pi/svg-badge.svg)](https://weblate.sanmer.app/engage/pi/) +[![release](https://img.shields.io/github/v/release/SanmerApps/PI?label=release&color=red)](https://github.com/SanmerApps/PI/releases) [![download](https://shields.io/github/downloads/SanmerApps/PI/total?label=download)](https://github.com/SanmerApps/PI/releases/latest) ## Supported Versions Android 11 ~ 15 diff --git a/app/src/main/kotlin/dev/sanmer/pi/Const.kt b/app/src/main/kotlin/dev/sanmer/pi/Const.kt index 1737ce0..6c06c31 100644 --- a/app/src/main/kotlin/dev/sanmer/pi/Const.kt +++ b/app/src/main/kotlin/dev/sanmer/pi/Const.kt @@ -2,7 +2,6 @@ package dev.sanmer.pi object Const { const val GITHUB_URL = "https://github.com/SanmerApps/PI" - const val TRANSLATE_URL = "https://weblate.sanmer.app/engage/pi" const val CHANNEL_ID_INSTALL = "INSTALL" const val CHANNEL_ID_PARSE = "PARSE" diff --git a/app/src/main/kotlin/dev/sanmer/pi/ui/screens/settings/SettingsScreen.kt b/app/src/main/kotlin/dev/sanmer/pi/ui/screens/settings/SettingsScreen.kt index 87c19d1..103724b 100644 --- a/app/src/main/kotlin/dev/sanmer/pi/ui/screens/settings/SettingsScreen.kt +++ b/app/src/main/kotlin/dev/sanmer/pi/ui/screens/settings/SettingsScreen.kt @@ -97,7 +97,8 @@ fun SettingsScreen( icon = R.drawable.language, title = stringResource(id = R.string.settings_translation), desc = stringResource(id = R.string.settings_translation_desc), - onClick = { context.viewUrl(Const.TRANSLATE_URL) } + onClick = {}, + enabled = false ) } }