RPC: Shield and de-shield funds #110

Merged
pitmutt merged 165 commits from rav001 into milestone4 2025-01-02 18:43:42 +00:00
Showing only changes of commit a3a8bb1eaa - Show all commits

View file

@ -1256,7 +1256,10 @@ handleEvent wenv node model evt =
CheckValidAddress a ->
[Model $ model & abAddressValid .~ isRecipientValid a]
CheckValidDescrip a -> [Model $ model & abDescripValid .~ isValidString a]
ShowAdrBook -> [Model $ model & showAdrBook .~ True & menuPopup .~ False]
ShowAdrBook ->
if null (model ^. abaddressList)
then [Model $ model & newAdrBkEntry .~ True & menuPopup .~ False]
else [Model $ model & showAdrBook .~ True & menuPopup .~ False]
CloseAdrBook -> [Model $ model & showAdrBook .~ False]
NewAdrBkEntry ->
[Model $ model & newAdrBkEntry .~ True & menuPopup .~ False]