Merge branch 'stable'

This commit is contained in:
Evgeny Poberezkin
2026-08-18 13:55:52 +01:00
2 changed files with 16 additions and 6 deletions
@@ -943,7 +943,7 @@ private val versionDescriptions: List<VersionDescription> = listOf(
),
VersionDescription(
// the trailing space differs from the previously released "v7.0", so that What's new is shown again
version = "v7.0 ",
version = if (isInUs()) "v7.0.1" else "v7.0",
post = null,
features = listOf(
VersionFeature.FeatureView(
@@ -1024,12 +1024,19 @@ else
@Composable
fun crowdfundingAvailable(): Boolean {
if (!platform.androidIsPlayStoreBuild) return true
LaunchedEffect(Unit) {
if (androidPlayStoreCountry.value == null) platform.androidLoadPlayStoreCountry()
if (androidPlayStoreCountry.value == null) {
LaunchedEffect(Unit) {
if (androidPlayStoreCountry.value == null) platform.androidLoadPlayStoreCountry()
}
}
return androidPlayStoreCountry.value == "US"
return isInUs()
}
fun isInUs(): Boolean =
androidPlayStoreCountry.value == "US"
|| androidPlayStoreCountry.value == ""
|| androidPlayStoreCountry.value == null
@Composable
private fun InvestInSimpleXChatView(modalManager: ModalManager) {
if (!crowdfundingAvailable()) return