rvv001 - Shield - Deshield process

DeShield form  -  Cancel button moved  to the right of process button
This commit is contained in:
Rene V. Vergara A. 2024-10-11 21:01:50 -04:00
parent 9acf18c503
commit 324ed663c3

View file

@ -1032,7 +1032,6 @@ buildUI wenv model = widgetTree
]) `styleBasic`
[bgColor (white & L.a .~ 0.5)]
deShieldOverlay =
alert CloseDeShield $
box
(vstack
[ filler
@ -1081,8 +1080,10 @@ buildUI wenv model = widgetTree
[alignMiddle]
(hstack
[ filler
, mainButton "Proceed" NotImplemented `nodeEnabled`
(model ^. amountValid && model ^. recipientValid)
, mainButton "Proceed" NotImplemented `nodeEnabled` True
-- (model ^. amountValid && model ^. recipientValid)
, spacer
, mainButton "Cancel" CloseDeShield `nodeEnabled` True
, filler
])
]) `styleBasic`