fix status bar font color (#15744)
This commit is contained in:
parent
0ca6ee3934
commit
55bab9454a
|
@ -30,7 +30,7 @@
|
||||||
[customization-color blur? override-theme]
|
[customization-color blur? override-theme]
|
||||||
(if blur?
|
(if blur?
|
||||||
(colors/theme-colors colors/neutral-100 colors/white override-theme)
|
(colors/theme-colors colors/neutral-100 colors/white override-theme)
|
||||||
(colors/custom-color customization-color (if (or (= :dark override-theme) colors/dark?) 60 50))))
|
(colors/custom-color customization-color (if (or (= :dark override-theme) (colors/dark?)) 60 50))))
|
||||||
|
|
||||||
(def text-input-container {:flex 1})
|
(def text-input-container {:flex 1})
|
||||||
|
|
||||||
|
|
|
@ -31,12 +31,12 @@
|
||||||
|
|
||||||
(defn navbar
|
(defn navbar
|
||||||
([dark?]
|
([dark?]
|
||||||
{:navigationBar {:backgroundColor (if (or dark? colors/dark?) colors/neutral-100 colors/white)}})
|
{:navigationBar {:backgroundColor (if (or dark? (colors/dark?)) colors/neutral-100 colors/white)}})
|
||||||
([] (navbar nil)))
|
([] (navbar nil)))
|
||||||
|
|
||||||
(defn statusbar
|
(defn statusbar
|
||||||
([dark?]
|
([dark?]
|
||||||
(let [style (if (or dark? colors/dark?) :light :dark)]
|
(let [style (if (or dark? (colors/dark?)) :light :dark)]
|
||||||
(if platform/android?
|
(if platform/android?
|
||||||
{:statusBar {:translucent true
|
{:statusBar {:translucent true
|
||||||
:backgroundColor :transparent
|
:backgroundColor :transparent
|
||||||
|
|
Loading…
Reference in New Issue