RPC: Viewing Keys #113

Manually merged
pitmutt merged 173 commits from rav001 into milestone4 2025-01-14 19:53:29 +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]