diff --git a/src/main/frontend/components/sidebar.cljs b/src/main/frontend/components/sidebar.cljs index 6180c703ae..df65b60128 100644 --- a/src/main/frontend/components/sidebar.cljs +++ b/src/main/frontend/components/sidebar.cljs @@ -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) diff --git a/src/main/frontend/state.cljs b/src/main/frontend/state.cljs index bcf59e905e..54322a77e3 100644 --- a/src/main/frontend/state.cljs +++ b/src/main/frontend/state.cljs @@ -144,7 +144,7 @@ ;; mobile :mobile/show-toolbar? false - :mobile/show-tabbar? true + :mobile/show-tabbar? false ;; plugin :plugin/enabled (and (util/electron?)