فهرست منبع

Merge branch 'mobile' of github.com:logseq/logseq into mobile

charlie 4 سال پیش
والد
کامیت
38f1f1d8c1
1فایلهای تغییر یافته به همراه1 افزوده شده و 4 حذف شده
  1. 1 4
      src/main/frontend/config.cljs

+ 1 - 4
src/main/frontend/config.cljs

@@ -333,10 +333,7 @@
 
 (defn get-local-dir
   [s]
-  (if-not (mobile-util/is-native-platform?)
-    (string/replace s local-db-prefix "")
-    (-> (util/node-path.name s)
-        (string/replace "%20" " "))))
+  (string/replace s local-db-prefix ""))
 
 (defn get-local-repo
   [dir]