From dd70a18c0309c3bb01964360ee37e97ff042d9ef Mon Sep 17 00:00:00 2001 From: leizhe Date: Tue, 23 Nov 2021 11:34:13 +0800 Subject: [PATCH] fix(ios): remove add-folder button --- src/main/frontend/components/header.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/frontend/components/header.cljs b/src/main/frontend/components/header.cljs index 1e5881200c2..8ce8e9e7f6b 100644 --- a/src/main/frontend/components/header.cljs +++ b/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