Ver Fonte

default :mobile/show-tabbar? to nil

llcc há 3 anos atrás
pai
commit
0c81e6ab42

+ 4 - 1
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)

+ 1 - 1
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?)