mirror of
https://github.com/status-im/status-react.git
synced 2025-01-12 03:54:32 +00:00
added add account button
Former-commit-id: d1446634b4ecb85a9d572c342623469edc1a9307
This commit is contained in:
parent
e5ff4da7db
commit
f36bfd21ce
@ -14,6 +14,7 @@
|
||||
icon-search
|
||||
icon-back
|
||||
icon-qr
|
||||
icon-plus
|
||||
toolbar-background1
|
||||
toolbar-title-container
|
||||
toolbar-title-text
|
||||
@ -60,7 +61,12 @@
|
||||
:enableEmptySections true
|
||||
:renderRow render-row
|
||||
:renderSeparator render-separator
|
||||
:style st/account-list}]]]))
|
||||
:style st/account-list}]]
|
||||
[view st/add-account-button-container
|
||||
[view st/add-account-button
|
||||
[image {:source {:uri :icon_add}
|
||||
:style st/icon-plus}]
|
||||
[text {:style st/add-account-text} (label :t/add-account)]]]]))
|
||||
|
||||
|
||||
;(re-frame.core/dispatch [:set :view-id :users])
|
||||
|
@ -81,3 +81,27 @@
|
||||
:flexDirection :column
|
||||
:alignItems :center
|
||||
:justifyContent :center})
|
||||
|
||||
(def add-account-button-container
|
||||
{:position :absolute
|
||||
:bottom 16
|
||||
:height 50
|
||||
:left 100
|
||||
:right 100
|
||||
:justifyContent :center
|
||||
:alignItems :center})
|
||||
|
||||
(def add-account-button
|
||||
{:flexDirection :row})
|
||||
|
||||
(def icon-plus
|
||||
{:flexDirection :column
|
||||
:paddingTop 2
|
||||
:width 20
|
||||
:height 20})
|
||||
|
||||
(def add-account-text
|
||||
{:flexDirection :column
|
||||
:color :white
|
||||
:fontSize 16
|
||||
:marginLeft 8})
|
||||
|
Loading…
x
Reference in New Issue
Block a user