diff --git a/src/status_im/ui/screens/profile/navigation.cljs b/src/status_im/ui/screens/profile/navigation.cljs index 7ce454f355..5eabd207dc 100644 --- a/src/status_im/ui/screens/profile/navigation.cljs +++ b/src/status_im/ui/screens/profile/navigation.cljs @@ -3,8 +3,8 @@ (defmethod navigation/preload-data! :qr-code-view [{:accounts/keys [current-account-id] :as db} [_ _ {:keys [contact qr-source qr-value amount?]}]] - (assoc db :qr-modal {:contact (or contact - (get-in db [:accounts/accounts current-account-id])) - :qr-source qr-source - :qr-value qr-value - :amount? amount?})) + (update db :qr-modal #(merge % {:contact (or contact + (get-in db [:accounts/accounts current-account-id])) + :qr-source qr-source + :qr-value qr-value + :amount? amount?})))