qr code should be white modal
This commit is contained in:
parent
7cb17511e9
commit
54175caeba
5
Makefile
5
Makefile
|
@ -139,6 +139,11 @@ android-ports-avd: ##@other Add reverse proxy to Android Device/Simulator
|
|||
adb -e reverse tcp:3449 tcp:3449
|
||||
adb -e reverse tcp:4567 tcp:4567
|
||||
|
||||
android-ports-genymotion: ##@other Add reverse proxy to Android Device/Simulator
|
||||
adb -e reverse tcp:8081 tcp:8081
|
||||
adb -e reverse tcp:3449 tcp:3449
|
||||
adb -e reverse tcp:4567 tcp:4567
|
||||
|
||||
android-ports-real: ##@other Add reverse proxy to Android Device/Simulator
|
||||
adb -d reverse tcp:8081 tcp:8081
|
||||
adb -d reverse tcp:3449 tcp:3449
|
||||
|
|
|
@ -67,13 +67,13 @@
|
|||
(defview qr-viewer []
|
||||
(letsubs [{:keys [value contact]} [:get :qr-modal]]
|
||||
[react/view styles/qr-code-viewer
|
||||
[status-bar/status-bar {:type :modal}]
|
||||
[status-bar/status-bar {:type :modal-white}]
|
||||
[qr-viewer-toolbar (:name contact) value]
|
||||
[qr-code-viewer/qr-code-viewer {:style styles/qr-code}
|
||||
value (i18n/label :t/qr-code-public-key-hint) (str value)]]))
|
||||
|
||||
(defn- show-qr [contact source value]
|
||||
#(re-frame/dispatch [:navigate-to :profile-qr-viewer {:contact contact
|
||||
#(re-frame/dispatch [:navigate-to-modal :profile-qr-viewer {:contact contact
|
||||
:source source
|
||||
:value value}]))
|
||||
|
||||
|
|
|
@ -151,13 +151,13 @@
|
|||
:recent-recipients recent-recipients
|
||||
:recipient-qr-code recipient-qr-code
|
||||
:contact-code contact-code
|
||||
:profile-qr-viewer profile.user/qr-viewer
|
||||
:backup-seed backup-seed
|
||||
[react/view [react/text (str "Unknown view: " view-id)]]))
|
||||
|
||||
(defn get-modal-component [modal-view]
|
||||
(case modal-view
|
||||
:qr-scanner qr-scanner
|
||||
:profile-qr-viewer profile.user/qr-viewer
|
||||
:wallet-transactions-filter wallet-transactions/filter-history
|
||||
:wallet-settings-assets wallet-settings/manage-assets
|
||||
:wallet-send-transaction-modal send-transaction-modal
|
||||
|
|
Loading…
Reference in New Issue