Fix assets placement for binary #91

Merged
pitmutt merged 168 commits from rav001 into milestone2 2024-07-12 16:34:51 +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]