default :mobile/show-tabbar? to nil

pull/5127/head
llcc 2022-05-05 11:32:34 +08:00
parent 08c101f54c
commit 84d6b28d86
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?)