Skip to content

Commit 3f6adb2

Browse files
committed
lint
1 parent 41d81f6 commit 3f6adb2

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Diff for: src/quo/components/wallet/keypair/style.cljs

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
(ns quo.components.wallet.keypair.style
22
(:require
3-
[quo.foundations.colors :as colors]))
3+
[quo.foundations.colors :as colors]
4+
[react-native.platform :as platform]))
45

56
(defn container
67
[{:keys [blur? customization-color theme selected?]}]
@@ -34,3 +35,8 @@
3435
{:color (if blur?
3536
colors/white-opa-40
3637
(colors/theme-colors colors/neutral-50 colors/neutral-40 theme))})
38+
39+
(defn dot
40+
[blur? theme]
41+
(merge (subtitle blur? theme)
42+
{:bottom (if platform/ios? 2 -2)}))

Diff for: src/quo/components/wallet/keypair/view.cljs

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
[quo.foundations.colors :as colors]
1212
[quo.theme :as quo.theme]
1313
[react-native.core :as rn]
14-
[react-native.platform :as platform]
1514
[reagent.core :as reagent]
1615
[utils.i18n :as i18n]))
1716

@@ -73,7 +72,7 @@
7372
(when (= type :default-keypair)
7473
[text/text
7574
{:size :paragraph-2
76-
:style (merge (style/subtitle blur? theme) {:bottom (if platform/ios? 2 -2)})}
75+
:style (style/dot blur? theme)}
7776
""])
7877
[text/text
7978
{:size :paragraph-2

0 commit comments

Comments
 (0)