Updated on 2026-08-14
This commit is contained in:
parent
79cca95a0f
commit
87d6d1d681
3 changed files with 3 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue