mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 09:26:28 +00:00
Merge pull request #7184 from logseq/enhance/ios-folder-picker
enhance: graph select and create on iOS
This commit is contained in:
@@ -158,6 +158,7 @@
|
||||
:assets/alias-dirs (or (storage/get :assets/alias-dirs) [])
|
||||
|
||||
;; mobile
|
||||
:mobile/container-urls nil
|
||||
:mobile/show-action-bar? false
|
||||
:mobile/actioned-block nil
|
||||
:mobile/show-toolbar? false
|
||||
@@ -1948,3 +1949,13 @@ Similar to re-frame subscriptions"
|
||||
(defn get-onboarding-whiteboard?
|
||||
[]
|
||||
(get-in @state [:whiteboard/onboarding-whiteboard?]))
|
||||
|
||||
(defn get-local-container-root-url
|
||||
[]
|
||||
(when (mobile-util/native-ios?)
|
||||
(get-in @state [:mobile/container-urls :localContainerUrl])))
|
||||
|
||||
(defn get-icloud-container-root-url
|
||||
[]
|
||||
(when (mobile-util/native-ios?)
|
||||
(get-in @state [:mobile/container-urls :iCloudContainerUrl])))
|
||||
Reference in New Issue
Block a user