diff --git a/src/status_im/accounts/screen.cljs b/src/status_im/accounts/screen.cljs index 8c3f22101b..a11cfcab3b 100644 --- a/src/status_im/accounts/screen.cljs +++ b/src/status_im/accounts/screen.cljs @@ -60,13 +60,13 @@ :custom-content toolbar-title :action {:image {:style icon-search} :handler #()}}] - - [view st/account-list-container - [list-view {:dataSource (lw/to-datasource accounts) - :enableEmptySections true - :renderRow render-row - :renderSeparator render-separator - :style st/account-list}]] + [view st/accounts-container + [view st/account-list-view-container + [list-view {:dataSource (lw/to-datasource accounts) + :enableEmptySections true + :renderRow render-row + ;:renderSeparator render-separator + :style st/account-list}]]] [view st/add-account-button-container [touchable-highlight {:on-press create-account} [view st/add-account-button @@ -78,4 +78,4 @@ ;(re-frame.core/dispatch [:set :view-id :users]) ;{:name (label :t/add-account) ;:address "0x0" -;:photo-path :icon_plus} \ No newline at end of file +;:photo-path :icon_plus} diff --git a/src/status_im/accounts/styles.cljs b/src/status_im/accounts/styles.cljs index 823d511c50..ab20bcd40e 100644 --- a/src/status_im/accounts/styles.cljs +++ b/src/status_im/accounts/styles.cljs @@ -26,9 +26,14 @@ :left 0 :justifyContent :center}) -(def account-list-container - {:flex 1 - :flexDirection :column +(def accounts-container + {:flex 1 + :flex-direction :column + :justifyContent :center + :padding-bottom 56}) + +(def account-list-view-container + {:flexDirection :column :justifyContent :center}) (def account-list