Updated on 2026-08-14
This commit is contained in:
parent
d19b3f2018
commit
ffd5170370
3 changed files with 11 additions and 11 deletions
|
|
@ -27,6 +27,10 @@ sealed class GiveTxPermissionState {
|
|||
val cancelButton: CancelPermissionButton,
|
||||
val onChangeApproveType: ((ApproveType) -> Unit)? = null,
|
||||
) : GiveTxPermissionState()
|
||||
|
||||
fun GiveTxPermissionState.getApproveTypeOrNull(): ApproveType? {
|
||||
return (this as? ReadyForRequest)?.approveType
|
||||
}
|
||||
}
|
||||
|
||||
enum class ApproveType(val text: TextReference) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue