Updated on 2026-08-14

This commit is contained in:
Tangem 2023-01-18 18:05:18 +08:00
parent e98780ff93
commit 479d142807
283 changed files with 2338 additions and 2730 deletions

View file

@ -29,6 +29,7 @@ import com.tangem.core.ui.components.SmallInfoCard
import com.tangem.core.ui.res.TangemTheme
import com.tangem.feature.referral.presentation.R
@Suppress("LongParameterList")
@OptIn(ExperimentalComposeUiApi::class)
@Composable
internal fun ParticipateBottomBlock(

View file

@ -123,6 +123,7 @@ internal class ReferralViewModel @Inject constructor(
private fun ReferralData.getNetworkName(): String = getToken().networkId.replaceFirstChar(Char::uppercase)
@Suppress("MagicNumber")
private fun ReferralInfo.getAddressValue(): String {
check(address.length > 5) { "Invalid address" }
return address.substring(startIndex = 0, endIndex = 4) + "..." +