💾 Add persist WC session events
This commit is contained in:
parent
b5a09a334a
commit
8d928156ba
|
@ -164,6 +164,7 @@
|
||||||
:event :wallet-connect/approve-session})
|
:event :wallet-connect/approve-session})
|
||||||
(rf/dispatch
|
(rf/dispatch
|
||||||
[:wallet-connect/reset-current-session-proposal]))}]
|
[:wallet-connect/reset-current-session-proposal]))}]
|
||||||
|
|
||||||
[:dispatch [:dismiss-modal :screen/wallet.wallet-connect-session-proposal]]]})))
|
[:dispatch [:dismiss-modal :screen/wallet.wallet-connect-session-proposal]]]})))
|
||||||
|
|
||||||
(rf/reg-event-fx
|
(rf/reg-event-fx
|
||||||
|
@ -192,7 +193,8 @@
|
||||||
{:version version})}]]]}
|
{:version version})}]]]}
|
||||||
|
|
||||||
:else
|
:else
|
||||||
{:fx [[:dispatch [:wallet-connect/pair scanned-text]]]}))))
|
{:fx [[:dispatch [:wallet-connect/pair scanned-text]]
|
||||||
|
[:dispatch [:dismiss-modal :screen/wallet.wallet-connect-session-proposal]]]}))))
|
||||||
|
|
||||||
(rf/reg-event-fx
|
(rf/reg-event-fx
|
||||||
:wallet-connect/persist-session
|
:wallet-connect/persist-session
|
||||||
|
|
Loading…
Reference in New Issue