Updated on 2026-08-14
This commit is contained in:
parent
7b5a62d593
commit
0dcf1ed23c
18 changed files with 256 additions and 74 deletions
21
core/utils/src/main/java/com/tangem/utils/TangemLinks.kt
Normal file
21
core/utils/src/main/java/com/tangem/utils/TangemLinks.kt
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
package com.tangem.utils
|
||||
|
||||
import java.util.Locale
|
||||
|
||||
object TangemLinks {
|
||||
|
||||
private const val RU_LOCALE = "ru"
|
||||
private const val EN_LOCALE = "en"
|
||||
|
||||
private const val TANGEM_MAIN = "https://tangem.com/"
|
||||
|
||||
val FEE_BLOG_LINK: String
|
||||
get(): String {
|
||||
val locale = if (Locale.getDefault().language == RU_LOCALE) RU_LOCALE else EN_LOCALE
|
||||
return buildString {
|
||||
append(TANGEM_MAIN)
|
||||
append(locale)
|
||||
append("/blog/post/what-is-a-transaction-fee-and-why-do-we-need-it/")
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue