Skip to content

Commit a6c5bed

Browse files
committed
feat: keypair name handling
1 parent cc81fc5 commit a6c5bed

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

src/status_im/contexts/wallet/create_account/new_keypair/keypair_name/style.cljs

+8
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,11 @@
77

88
(def bottom-action
99
{:margin-horizontal -20})
10+
11+
(defn error-container
12+
{:flex-direction :row
13+
:justify-content :center
14+
:align-items :center
15+
:align-self :flex-start
16+
:margin-left 20
17+
:margin-vertical 8})

src/status_im/contexts/wallet/create_account/new_keypair/keypair_name/view.cljs

+1-6
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,7 @@
6060
:error? error?}]
6161
(when error?
6262
[rn/view
63-
{:style {:flex-direction :row
64-
:justify-content :center
65-
:align-items :center
66-
:align-self :flex-start
67-
:margin-left 20
68-
:margin-vertical 8}}
63+
{:style style/error-container}
6964
[quo/icon :i/info {:color (colors/theme-colors colors/danger-50 colors/danger-60 theme)}]
7065
[quo/text
7166
{:style {:margin-left 4

0 commit comments

Comments
 (0)