mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2025-06-28 12:19:54 +00:00
android: remove Contribute link from Android bundle
This commit is contained in:
parent
a593557c21
commit
442d9afc4b
3 changed files with 7 additions and 1 deletions
|
@ -155,6 +155,7 @@ buildConfig {
|
|||
buildConfigField("String", "DESKTOP_VERSION_NAME", "\"${extra["desktop.version_name"]}\"")
|
||||
buildConfigField("int", "DESKTOP_VERSION_CODE", "${extra["desktop.version_code"]}")
|
||||
buildConfigField("String", "DATABASE_BACKEND", "\"${extra["database.backend"]}\"")
|
||||
buildConfigField("Boolean", "ANDROID_BUNDLE", "${extra["android.bundle"]}")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ import dev.icerock.moko.resources.compose.stringResource
|
|||
import androidx.compose.ui.text.font.FontWeight
|
||||
import androidx.compose.ui.text.style.TextOverflow
|
||||
import androidx.compose.ui.unit.*
|
||||
import chat.simplex.common.BuildConfigCommon
|
||||
import chat.simplex.common.model.*
|
||||
import chat.simplex.common.model.ChatController.appPrefs
|
||||
import chat.simplex.common.platform.*
|
||||
|
@ -127,7 +128,9 @@ fun SettingsLayout(
|
|||
SectionDividerSpaced()
|
||||
|
||||
SectionView(stringResource(MR.strings.settings_section_title_support)) {
|
||||
if (!BuildConfigCommon.ANDROID_BUNDLE) {
|
||||
ContributeItem(uriHandler)
|
||||
}
|
||||
RateAppItem(uriHandler)
|
||||
StarOnGithubItem(uriHandler)
|
||||
}
|
||||
|
|
|
@ -27,6 +27,8 @@ kotlin.jvm.target=11
|
|||
android.version_name=6.3.5
|
||||
android.version_code=292
|
||||
|
||||
android.bundle=false
|
||||
|
||||
desktop.version_name=6.3.5
|
||||
desktop.version_code=104
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue