Updated on 2026-08-14
This commit is contained in:
parent
a3b65cd194
commit
d22bfd0c87
27 changed files with 342 additions and 139 deletions
|
|
@ -330,6 +330,7 @@ private val previewData = GiveTxPermissionBottomSheetConfig(
|
|||
approveType = ApproveType.LIMITED,
|
||||
approveButton = ApprovePermissionButton(true) {},
|
||||
cancelButton = CancelPermissionButton(true),
|
||||
isResetApproval = false,
|
||||
onChangeApproveType = { ApproveType.LIMITED },
|
||||
subtitle = resourceReference(R.string.give_permission_staking_subtitle, wrappedList("1")),
|
||||
dialogText = resourceReference(R.string.give_permission_staking_footer),
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ sealed class GiveTxPermissionState {
|
|||
val approveItems: ImmutableList<ApproveType> = ApproveType.entries.toImmutableList(),
|
||||
val approveButton: ApprovePermissionButton,
|
||||
val cancelButton: CancelPermissionButton,
|
||||
val isResetApproval: Boolean,
|
||||
val onChangeApproveType: ((ApproveType) -> Unit)? = null,
|
||||
val onOpenLearnMoreAboutApproveClick: () -> Unit,
|
||||
) : GiveTxPermissionState()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue