fix peer count invisible in Light mode (#20733)
This commit is contained in:
parent
20b256b0d0
commit
6553d5ca44
|
@ -1,12 +1,14 @@
|
|||
(ns legacy.status-im.ui.screens.peers-stats
|
||||
(:require
|
||||
[quo.foundations.colors :as colors]
|
||||
[react-native.core :as rn]
|
||||
[utils.i18n :as i18n]
|
||||
[utils.re-frame :as rf]))
|
||||
|
||||
(defn peers-stats
|
||||
[]
|
||||
(let [peers-count (rf/sub [:peer-stats/count])]
|
||||
(let [peers-count (rf/sub [:peer-stats/count])
|
||||
theme (rf/sub [:theme])]
|
||||
(rn/use-mount
|
||||
(fn []
|
||||
(rf/dispatch [:peer-stats/get-count])))
|
||||
|
@ -18,4 +20,5 @@
|
|||
{:style {:flex-direction :row
|
||||
:margin-vertical 8
|
||||
:justify-content :space-between}}
|
||||
[rn/text (str (i18n/label :t/peers-count) ": " peers-count)]]]))
|
||||
[rn/text {:style {:color (colors/theme-colors colors/neutral-100 colors/white theme)}}
|
||||
(str (i18n/label :t/peers-count) ": " peers-count)]]]))
|
||||
|
|
Loading…
Reference in New Issue