mirror of
https://github.com/logseq/logseq.git
synced 2026-05-28 06:34:34 +00:00
fix(mobile): incorrect status bar color for the android platform
This commit is contained in:
@@ -216,17 +216,13 @@
|
||||
(defn set-theme-light
|
||||
[]
|
||||
(p/do!
|
||||
(.setStyle StatusBar (clj->js {:style (.-Light Style)}))
|
||||
(when (mobile-util/native-android?)
|
||||
(.setBackgroundColor StatusBar (clj->js {:color "#ffffff"}))))))
|
||||
(.setStyle StatusBar (clj->js {:style (.-Light Style)})))))
|
||||
|
||||
#?(:cljs
|
||||
(defn set-theme-dark
|
||||
[]
|
||||
(p/do!
|
||||
(.setStyle StatusBar (clj->js {:style (.-Dark Style)}))
|
||||
(when (mobile-util/native-android?)
|
||||
(.setBackgroundColor StatusBar (clj->js {:color "#000000"}))))))
|
||||
(.setStyle StatusBar (clj->js {:style (.-Dark Style)})))))
|
||||
|
||||
(defn find-first
|
||||
[pred coll]
|
||||
|
||||
Reference in New Issue
Block a user