Browse Source

fix(ios): remove add-folder button

leizhe 4 years ago
parent
commit
dd70a18c03
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/main/frontend/components/header.cljs

+ 3 - 1
src/main/frontend/components/header.cljs

@@ -213,7 +213,9 @@
 
         (repo/sync-status current-repo)
 
-        (when show-open-folder?
+        (when (and
+               show-open-folder?
+               (not (mobile-util/is-native-platform?)))
           [:a.text-sm.font-medium.button
            {:on-click #(page-handler/ls-dir-files! shortcut/refresh!)}
            [:div.flex.flex-row.text-center.open-button__inner.items-center