fix android

Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
andrey 2020-09-21 11:38:28 +02:00
parent ff790d4152
commit e95025333f
No known key found for this signature in database
GPG Key ID: 89B67245FD2F0272
1 changed files with 2 additions and 1 deletions

View File

@ -104,7 +104,8 @@
:name (or name "")}]
(fx/merge cofx
{:db (assoc-in db [:wallet/favourites address] new-favourite)
::focus-input (get-in db [:wallet/recipient :inp-ref])
;;android
:dispatch-later [{:ms 1000 :dispatch [:wallet.recipient/focus-input]}]
::json-rpc/call [{:method "wallet_addFavourite"
:params [new-favourite]
:on-success #()}]}