Updated on 2026-08-14

This commit is contained in:
Tangem 2026-05-26 16:03:11 +04:00
parent ff8f9c9b18
commit 6aab25427d
75 changed files with 2122 additions and 57 deletions

View file

@ -350,6 +350,7 @@ sealed class AppRoute(val path: String) : Route {
val storyId: String,
val nextScreen: AppRoute? = null,
val screenSource: String,
val shouldMarkAsSeenOnClose: Boolean = true,
) : AppRoute(path = "/stories$storyId")
@Serializable

View file

@ -14,6 +14,8 @@ object TangemSiteUrlBuilder {
const val HELP_CENTER_SWAP_URL =
"https://tangem.com/en/help-center/tangem-wallet-core-functionality/how-to-swap-coins-and-tokens/"
const val YIELD_MODE_TERMS_URL = "https://tangem.com/docs/en/yield-mode-terms.pdf"
suspend fun getUtmTags(campaign: String?): String {
val langCode = Locale.getDefault().language
val utmCampaignPart = campaign?.let { "&utm_campaign=$it-$langCode" }.orEmpty()