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