mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-14 07:10:19 +00:00
temp
This commit is contained in:
+2
-1
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user