Updated on 2026-08-14

This commit is contained in:
Tangem 2020-12-16 22:59:23 +03:00
parent 79cca95a0f
commit 87d6d1d681
3 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@ data class TransactionExtrasState(
val xlmMemo: XlmMemoState? = null,
val xrpDestinationTag: XrpDestinationTagState? = null
) : IdStateHolder {
override val stateId: StateId = StateId.ADDRESS_EXTRAS
override val stateId: StateId = StateId.TRANSACTION_EXTRAS
}
enum class XlmMemoType {

View file

@ -22,7 +22,7 @@ interface IdStateHolder {
}
enum class StateId {
SEND_SCREEN, ADDRESS_PAY_ID, ADDRESS_EXTRAS, AMOUNT, FEE, RECEIPT
SEND_SCREEN, ADDRESS_PAY_ID, TRANSACTION_EXTRAS, AMOUNT, FEE, RECEIPT
}
interface SendScreenState : StateType, IdStateHolder

View file

@ -49,7 +49,7 @@ class SendStateSubscriber(fragment: BaseStoreFragment) : FragmentStateSubscriber
when (it) {
StateId.SEND_SCREEN -> handleSendScreen(fg, state)
StateId.ADDRESS_PAY_ID -> handleAddressPayIdState(fg, state.addressPayIdState)
StateId.ADDRESS_EXTRAS -> handleTransactionExtrasState(fg, state.transactionExtrasState)
StateId.TRANSACTION_EXTRAS -> handleTransactionExtrasState(fg, state.transactionExtrasState)
StateId.AMOUNT -> handleAmountState(fg, state.amountState)
StateId.FEE -> handleFeeState(fg, state.feeState)
StateId.RECEIPT -> handleReceiptState(fg, state.receiptState)