Updated on 2026-08-14
This commit is contained in:
commit
93e01d5eb5
3 changed files with 15 additions and 2 deletions
|
|
@ -2,6 +2,8 @@ package com.tangem.common.ui.expressStatus
|
|||
|
||||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.foundation.rememberScrollState
|
||||
import androidx.compose.foundation.verticalScroll
|
||||
import androidx.compose.material3.Text
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.Alignment.Companion.CenterHorizontally
|
||||
|
|
@ -19,7 +21,11 @@ import com.tangem.core.ui.res.TangemTheme
|
|||
|
||||
@Composable
|
||||
fun OnrampStatusBottomSheetContent(state: ExpressTransactionStateUM.OnrampUM) {
|
||||
Column(modifier = Modifier.padding(horizontal = TangemTheme.dimens.spacing16)) {
|
||||
Column(
|
||||
modifier = Modifier
|
||||
.padding(horizontal = TangemTheme.dimens.spacing16)
|
||||
.verticalScroll(rememberScrollState()),
|
||||
) {
|
||||
SpacerH10()
|
||||
Text(
|
||||
text = stringResourceSafe(id = R.string.common_transaction_status),
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ enum class ExchangeStatus {
|
|||
this == Finished ||
|
||||
this == Cancelled ||
|
||||
this == TxFailed ||
|
||||
this == Paused ||
|
||||
this == Unknown
|
||||
|
||||
val isAutoDisposable: Boolean
|
||||
|
|
|
|||
|
|
@ -3,6 +3,8 @@ package com.tangem.feature.tokendetails.presentation.tokendetails.ui.components.
|
|||
import androidx.compose.animation.AnimatedContent
|
||||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.foundation.rememberScrollState
|
||||
import androidx.compose.foundation.verticalScroll
|
||||
import androidx.compose.material3.Text
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.Alignment.Companion.CenterHorizontally
|
||||
|
|
@ -26,7 +28,11 @@ import com.tangem.feature.tokendetails.presentation.tokendetails.state.express.E
|
|||
|
||||
@Composable
|
||||
internal fun ExchangeStatusBottomSheetContent(state: ExchangeUM) {
|
||||
Column(modifier = Modifier.padding(horizontal = TangemTheme.dimens.spacing16)) {
|
||||
Column(
|
||||
modifier = Modifier
|
||||
.padding(horizontal = TangemTheme.dimens.spacing16)
|
||||
.verticalScroll(rememberScrollState()),
|
||||
) {
|
||||
SpacerH10()
|
||||
Text(
|
||||
text = stringResourceSafe(id = R.string.express_exchange_status_title),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue