Updated on 2026-08-14
This commit is contained in:
parent
e98780ff93
commit
479d142807
283 changed files with 2338 additions and 2730 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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) + "..." +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue