mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-18 16:35:41 +00:00
android: show "Get your code" button in all app flavours (#7514)
This commit is contained in:
+4
-8
@@ -125,14 +125,10 @@ private fun RedeemCodeButton() {
|
||||
@Composable
|
||||
private fun GetCodeButton() {
|
||||
val uriHandler = LocalUriHandler.current
|
||||
if (platform.androidHasPlatformStore) {
|
||||
TextButtonBelowOnboardingButton("", null)
|
||||
} else {
|
||||
TextButtonBelowOnboardingButton(
|
||||
text = stringResource(MR.strings.badges_get_your_code),
|
||||
onClick = { uriHandler.openExternalLink("https://simplex.chat/badges/") }
|
||||
)
|
||||
}
|
||||
TextButtonBelowOnboardingButton(
|
||||
text = stringResource(MR.strings.badges_get_your_code),
|
||||
onClick = { uriHandler.openExternalLink("https://simplex.chat/badges/") }
|
||||
)
|
||||
}
|
||||
|
||||
@Composable
|
||||
|
||||
Reference in New Issue
Block a user