Updated on 2026-08-14
This commit is contained in:
parent
a98af7681e
commit
a0a6709605
3 changed files with 11 additions and 2 deletions
8
.idea/dictionaries/romanpotapov.xml
generated
Normal file
8
.idea/dictionaries/romanpotapov.xml
generated
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<component name="ProjectDictionaryState">
|
||||
<dictionary name="romanpotapov">
|
||||
<words>
|
||||
<w>blockchain</w>
|
||||
<w>tangem</w>
|
||||
</words>
|
||||
</dictionary>
|
||||
</component>
|
||||
|
|
@ -16,7 +16,7 @@ import org.rekotlin.StoreSubscriber
|
|||
|
||||
class DetailsFragment : Fragment(R.layout.fragment_details), StoreSubscriber<DetailsState> {
|
||||
|
||||
var currencySelectionDialog = CurrencySelectionDialog()
|
||||
private var currencySelectionDialog = CurrencySelectionDialog()
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ import com.tangem.blockchain.common.AmountType
|
|||
import com.tangem.blockchain.common.WalletManager
|
||||
import com.tangem.common.extensions.isZero
|
||||
import com.tangem.tap.common.CurrencyConverter
|
||||
import com.tangem.tap.common.entities.TapCurrency
|
||||
import com.tangem.tap.features.send.redux.AmountAction
|
||||
import com.tangem.tap.store
|
||||
import org.rekotlin.StateType
|
||||
|
|
@ -59,7 +60,7 @@ enum class SendButtonState {
|
|||
data class AmountState(
|
||||
val viewAmountValue: String = BigDecimal.ZERO.toPlainString(),
|
||||
val viewBalanceValue: String = BigDecimal.ZERO.toPlainString(),
|
||||
val mainCurrency: Value<MainCurrencyType> = Value(MainCurrencyType.FIAT, store.state.globalState.appCurrency),
|
||||
val mainCurrency: Value<MainCurrencyType> = Value(MainCurrencyType.FIAT, TapCurrency.DEFAULT_FIAT_CURRENCY),
|
||||
val typeOfAmount: AmountType = AmountType.Coin,
|
||||
val amountToSendCrypto: BigDecimal = BigDecimal.ZERO,
|
||||
val balanceCrypto: BigDecimal = BigDecimal.ZERO,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue