Browse Source

chore: remove TODO tags

charlie 3 years ago
parent
commit
12c0e293fe
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/main/frontend/mobile/graph_picker.cljs

+ 4 - 4
src/main/frontend/mobile/graph_picker.cljs

@@ -52,10 +52,10 @@
                             (if (string/blank? graph-name)
                             (if (string/blank? graph-name)
                               (notification/show! "Illegal graph folder name.")
                               (notification/show! "Illegal graph folder name.")
 
 
-                              ;; create graph directory under Logseq document folder
-                              ;; TODO: icloud sync
-                              (when-let [root (if icloud-sync-on? (state/get-icloud-container-root-url)
-                                                                  (state/get-local-container-root-url))]
+                              ;; create graph directory under Logseq document folder (local/icloud)
+                              (when-let [root (if icloud-sync-on?
+                                                (state/get-icloud-container-root-url)
+                                                (state/get-local-container-root-url))]
                                 (-> (validate-graph-dirname root graph-name)
                                 (-> (validate-graph-dirname root graph-name)
                                     (p/then (fn [graph-path]
                                     (p/then (fn [graph-path]
                                               (-> (fs/mkdir! graph-path)
                                               (-> (fs/mkdir! graph-path)