fix status bar font color (#15744)

This commit is contained in:
Parvesh Monu 2023-04-26 19:35:51 +05:30 committed by GitHub
parent 0ca6ee3934
commit 55bab9454a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@
[customization-color blur? override-theme]
(if blur?
(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})

View File

@ -31,12 +31,12 @@
(defn navbar
([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)))
(defn statusbar
([dark?]
(let [style (if (or dark? colors/dark?) :light :dark)]
(let [style (if (or dark? (colors/dark?)) :light :dark)]
(if platform/android?
{:statusBar {:translucent true
:backgroundColor :transparent