This commit is contained in:
shum
2026-08-11 06:33:50 +00:00
parent f596e4976a
commit ac2f7cc5f7
@@ -957,12 +957,13 @@ fun shouldShowWhatsNew(m: ChatModel): Boolean {
}
private const val WEFUNDER_URL = "https://wefunder.com/simplexchat"
private val investCountries = setOf("US", "AM")
@Composable
private fun InvestInSimpleXChatView() {
if (platform.androidIsPlayStoreBuild) {
LaunchedEffect(Unit) { if (androidPlayStoreCountry.value == null) platform.androidLoadPlayStoreCountry() }
if (androidPlayStoreCountry.value != "US") return
if (androidPlayStoreCountry.value !in investCountries) return
}
val uriHandler = LocalUriHandler.current
Row(horizontalArrangement = Arrangement.spacedBy(8.dp), modifier = Modifier.padding(bottom = 12.dp)) {