mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 09:56:31 +00:00
chore: remove nfs support
Assets will be stored in IndexedDB through memory fs on web.
This commit is contained in:
@@ -71,7 +71,6 @@
|
||||
:notification/show? false
|
||||
:notification/content nil
|
||||
:repo/loading-files? {}
|
||||
:nfs/user-granted? {}
|
||||
:nfs/refreshing? nil
|
||||
:instrument/disabled? (storage/get "instrument-disabled")
|
||||
;; TODO: how to detect the network reliably?
|
||||
@@ -2280,10 +2279,6 @@ Similar to re-frame subscriptions"
|
||||
[]
|
||||
(:pdf/current @state))
|
||||
|
||||
(defn nfs-user-granted?
|
||||
[repo]
|
||||
(get-in @state [:nfs/user-granted? repo]))
|
||||
|
||||
(defn set-current-pdf!
|
||||
[inflated-file]
|
||||
(let [settle-file! #(set-state! :pdf/current inflated-file)]
|
||||
|
||||
Reference in New Issue
Block a user