rvv001 - Privacy Policy control addedin TUI's send transaction form

This feature is similar to GUI's implementation.
This commit is contained in:
Rene V. Vergara A. 2024-10-01 20:47:45 -04:00
parent b6b586f9bf
commit 398f4f1dcf
2 changed files with 2 additions and 2 deletions

View file

@ -107,6 +107,7 @@ import Zenith.Utils
( displayTaz
, displayZec
, isRecipientValid
, isRecipientValidGUI
, jsonNumber
, parseAddressUA
, showAddress
@ -1132,7 +1133,7 @@ appEvent (BT.VtyEvent e) = do
fs <- BT.gets formState
BT.modify $
setFieldValid
(isRecipientValid (fs ^. sendTo))
(isRecipientValidGUI (fs ^. policyField) (fs ^. sendTo))
RecField
AdrBook -> do
case e of

View file

@ -173,7 +173,6 @@ isRecipientValidGUI p a = do
Exchange ea -> True
_ -> False
Nothing -> False
None -> case adr of
Just a ->
case a of