diff --git a/src/status_im/contexts/wallet/events.cljs b/src/status_im/contexts/wallet/events.cljs index 103d961fe8..97737f1671 100644 --- a/src/status_im/contexts/wallet/events.cljs +++ b/src/status_im/contexts/wallet/events.cljs @@ -581,6 +581,12 @@ (into removed-account-addresses old-account-addresses)) (merge updated-accounts-by-address))))} (seq new-account-addresses) - (assoc :fx refresh-accounts-fx-dispatches)))) + (assoc :fx + (->> new-account-addresses + (mapcat (fn [address] + [[:dispatch [:wallet/get-wallet-token-for-account address]] + [:dispatch + [:wallet/request-new-collectibles-for-account-from-signal address]] + [:dispatch [:wallet/check-recent-history-for-account address]]]))))))) (rf/reg-event-fx :wallet/process-keypairs process-keypairs) diff --git a/src/status_im/contexts/wallet/events_test.cljs b/src/status_im/contexts/wallet/events_test.cljs index 4ec693698d..7435260429 100644 --- a/src/status_im/contexts/wallet/events_test.cljs +++ b/src/status_im/contexts/wallet/events_test.cljs @@ -169,9 +169,9 @@ :type :seed :lowest-operability :fully :accounts [account]}}}} - :fx [[:dispatch [:wallet/get-wallet-token-for-all-accounts]] - [:dispatch [:wallet/request-collectibles-for-all-accounts {:new-request? true}]] - [:dispatch [:wallet/check-recent-history-for-all-accounts]]]}) + :fx [[:dispatch [:wallet/get-wallet-token-for-account address]] + [:dispatch [:wallet/request-new-collectibles-for-account-from-signal address]] + [:dispatch [:wallet/check-recent-history-for-account address]]]}) (dispatch [event-id [{:key-uid keypair-key-uid :type "seed"