[Fix #2590] Blank QR code on a quick double tap of the 'Show QR code'
This commit is contained in:
parent
279ebc3173
commit
e804ae25e7
|
@ -3,8 +3,8 @@
|
||||||
|
|
||||||
(defmethod navigation/preload-data! :qr-code-view
|
(defmethod navigation/preload-data! :qr-code-view
|
||||||
[{:accounts/keys [current-account-id] :as db} [_ _ {:keys [contact qr-source qr-value amount?]}]]
|
[{:accounts/keys [current-account-id] :as db} [_ _ {:keys [contact qr-source qr-value amount?]}]]
|
||||||
(assoc db :qr-modal {:contact (or contact
|
(update db :qr-modal #(merge % {:contact (or contact
|
||||||
(get-in db [:accounts/accounts current-account-id]))
|
(get-in db [:accounts/accounts current-account-id]))
|
||||||
:qr-source qr-source
|
:qr-source qr-source
|
||||||
:qr-value qr-value
|
:qr-value qr-value
|
||||||
:amount? amount?}))
|
:amount? amount?})))
|
||||||
|
|
Loading…
Reference in New Issue