default :mobile/show-tabbar? to nil

This commit is contained in:
llcc
2022-05-05 11:32:34 +08:00
parent 6140872720
commit 0c81e6ab42
2 changed files with 5 additions and 2 deletions

View File

@@ -451,7 +451,10 @@
[page :page])]
(state/sidebar-add-block! current-repo db-id block-type nil)))
(reset! sidebar-inited? true))))
state)}
state)
:did-mount (fn [state]
(state/set-state! :mobile/show-tabbar? true)
state)}
[]
(let [default-home (get-default-home-if-valid)
current-repo (state/sub :git/current-repo)

View File

@@ -144,7 +144,7 @@
;; mobile
:mobile/show-toolbar? false
:mobile/show-tabbar? true
:mobile/show-tabbar? false
;; plugin
:plugin/enabled (and (util/electron?)