Updated on 2026-08-14
This commit is contained in:
parent
9baa0a556b
commit
15e7df8d41
3 changed files with 4 additions and 3 deletions
|
|
@ -5,7 +5,7 @@ import com.tangem.blockchain.common.Wallet
|
|||
import com.tangem.common.CompletionResult
|
||||
import com.tangem.common.core.TangemSdkError
|
||||
import com.tangem.common.map
|
||||
import com.tangem.domain.wallets.models.UserWallet
|
||||
import com.tangem.domain.models.wallet.UserWallet
|
||||
import com.tangem.hot.sdk.model.DataToSign
|
||||
import com.tangem.operations.sign.SignData
|
||||
import dagger.assisted.Assisted
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ internal class DefaultQuotesFetcherTest {
|
|||
@Test
|
||||
fun `fetch if all currencies ids ARE CACHED and EXPIRED`() = runTest {
|
||||
// Arrange
|
||||
val cachedQuote = MockQuoteResponseFactory.createSinglePrice(BigDecimal.ZERO)
|
||||
val cachedQuote = MockQuoteResponseFactory.createSinglePrice(BigDecimal.ONE)
|
||||
val apiQuote = MockQuoteResponseFactory.createSinglePrice(BigDecimal.ONE)
|
||||
val apiResponse = ApiResponse.Success(
|
||||
data = QuotesResponse(quotes = mapOf("ethereum" to apiQuote)),
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ import com.tangem.core.ui.components.bottomsheets.modal.TangemModalBottomSheet
|
|||
import com.tangem.core.ui.components.bottomsheets.modal.TangemModalBottomSheetTitle
|
||||
import com.tangem.core.ui.components.notifications.Notification
|
||||
import com.tangem.core.ui.extensions.resourceReference
|
||||
import com.tangem.core.ui.extensions.stringReference
|
||||
import com.tangem.core.ui.extensions.stringResourceSafe
|
||||
import com.tangem.core.ui.extensions.wrappedList
|
||||
import com.tangem.core.ui.res.TangemColorPalette
|
||||
|
|
@ -47,7 +48,7 @@ internal fun WcConnectedAppInfoBS(state: WcConnectedAppInfoUM) {
|
|||
containerColor = TangemTheme.colors.background.tertiary,
|
||||
title = {
|
||||
TangemModalBottomSheetTitle(
|
||||
title = resourceReference(R.string.wc_wallet_connect),
|
||||
title = stringReference("Connected App"), // TODO: [REDACTED_JIRA]
|
||||
subtitle = state.connectingTime?.let { timestamp ->
|
||||
resourceReference(
|
||||
R.string.send_date_format,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue