Updated on 2026-08-14
This commit is contained in:
parent
4c720113f9
commit
af88b092a2
9 changed files with 73 additions and 9 deletions
|
|
@ -13,11 +13,18 @@ import java.math.BigInteger
|
|||
@Immutable
|
||||
sealed class FeeSelectorUM {
|
||||
|
||||
data object Loading : FeeSelectorUM()
|
||||
abstract val isPrimaryButtonEnabled: Boolean
|
||||
|
||||
data class Error(val error: GetFeeError) : FeeSelectorUM()
|
||||
data object Loading : FeeSelectorUM() {
|
||||
override val isPrimaryButtonEnabled = false
|
||||
}
|
||||
|
||||
data class Error(val error: GetFeeError) : FeeSelectorUM() {
|
||||
override val isPrimaryButtonEnabled = false
|
||||
}
|
||||
|
||||
data class Content(
|
||||
override val isPrimaryButtonEnabled: Boolean,
|
||||
val fees: TransactionFee,
|
||||
val feeItems: ImmutableList<FeeItem>,
|
||||
val selectedFeeItem: FeeItem,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue