mirror of
https://github.com/logseq/logseq.git
synced 2026-04-30 00:46:23 +00:00
Enhance(UX): marketplace (#9609)
* fix(ui): hidden proxy label for the default system proxy network mode * improve(plugin): support option to enable/disable the auto-check the installed plugins * fix(revert): codes * improve(ux): add the auto-check updates switcher to the toolbar plugins manager * improve(i18n): plugin-related i18n * enhance(plugin): add Github proxy server for the plugin updates * enhance(plugin): add Github proxy server for the plugin updates * fix(ui): warning * fix: typo * fix(ui): hidden proxy label for the default system proxy network mode * improve(plugin): support option to enable/disable the auto-check the installed plugins * fix(revert): codes * improve(ux): add the auto-check updates switcher to the toolbar plugins manager * improve(i18n): plugin-related i18n * enhance(plugin): add Github proxy server for the plugin updates * enhance(plugin): add Github proxy server for the plugin updates * fix(ui): warning * fix: typo
This commit is contained in:
@@ -2027,9 +2027,10 @@ Similar to re-frame subscriptions"
|
||||
(fn [old-value] (merge old-value m)))))
|
||||
|
||||
(defn http-proxy-enabled-or-val? []
|
||||
(when-let [agent-opts (sub [:electron/user-cfgs :settings/agent])]
|
||||
(when (every? not-empty (vals agent-opts))
|
||||
(str (:protocol agent-opts) "://" (:host agent-opts) ":" (:port agent-opts)))))
|
||||
(when-let [{:keys [type protocol host port] :as agent-opts} (sub [:electron/user-cfgs :settings/agent])]
|
||||
(when (and (not (contains? #{"system"} type))
|
||||
(every? not-empty (vals agent-opts)))
|
||||
(str protocol "://" host ":" port))))
|
||||
|
||||
(defn set-mobile-app-state-change
|
||||
[is-active?]
|
||||
|
||||
Reference in New Issue
Block a user