[BUG #2023] Improved QR code readability
This commit is contained in:
parent
9640b3d6cc
commit
a1c300c73d
|
@ -1,4 +1,5 @@
|
||||||
(ns status-im.ui.screens.wallet.request.styles
|
(ns status-im.ui.screens.wallet.request.styles
|
||||||
|
(:require-macros [status-im.utils.styles :refer [defstyle]])
|
||||||
(:require [status-im.components.styles :as styles]))
|
(:require [status-im.components.styles :as styles]))
|
||||||
|
|
||||||
(def network-label
|
(def network-label
|
||||||
|
@ -8,8 +9,12 @@
|
||||||
{:flex 1
|
{:flex 1
|
||||||
:align-items :center})
|
:align-items :center})
|
||||||
|
|
||||||
(def qr-container
|
(defstyle qr-container
|
||||||
{:margin-top 16})
|
{:margin-top 16
|
||||||
|
:padding 16
|
||||||
|
:background-color styles/color-white
|
||||||
|
:ios {:border-radius 8}
|
||||||
|
:android {:border-radius 4}})
|
||||||
|
|
||||||
(def share-icon-container
|
(def share-icon-container
|
||||||
{:margin-right 8})
|
{:margin-right 8})
|
||||||
|
|
|
@ -32,8 +32,6 @@
|
||||||
[components.qr-code/qr-code
|
[components.qr-code/qr-code
|
||||||
{:value (.stringify js/JSON (clj->js {:address (:address account)
|
{:value (.stringify js/JSON (clj->js {:address (:address account)
|
||||||
:amount 0}))
|
:amount 0}))
|
||||||
:bgColor :white
|
|
||||||
:fgColor "#4360df"
|
|
||||||
:size 256}]))
|
:size 256}]))
|
||||||
|
|
||||||
(views/defview request-transaction []
|
(views/defview request-transaction []
|
||||||
|
|
Loading…
Reference in New Issue