mirror of
https://github.com/logseq/logseq.git
synced 2026-02-01 22:47:36 +00:00
fix: lint
This commit is contained in:
@@ -87,4 +87,7 @@ frontend.rum/use-atom-in
|
||||
;; missionary utils
|
||||
frontend.common.missionary/<!
|
||||
;; only used in deps/common
|
||||
frontend.common.missionary/background-task-running?
|
||||
frontend.common.missionary/background-task-running?
|
||||
;; defonce
|
||||
mobile.components.popup/native-sheet-listener
|
||||
mobile.bottom-tabs/add-tab-listeners!
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
[logseq.common.config :as common-config]
|
||||
[logseq.common.util :as common-util]
|
||||
[logseq.db.sqlite.util :as sqlite-util]
|
||||
[logseq.graph-parser.schema.mldoc :as mldoc-schema]
|
||||
[logseq.graph-parser.utf8 :as utf8]))
|
||||
|
||||
(defonce parseJson (gobj/get Mldoc "parseJson"))
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
;; (editor-handler/show-quick-add))
|
||||
nil)))
|
||||
(add-watch mobile-state/*tab ::select-tab
|
||||
(fn [_ _ old new]
|
||||
(fn [_ _ _old new]
|
||||
(when new (select! new))))
|
||||
(add-search-listener!
|
||||
(fn [q]
|
||||
@@ -94,17 +94,3 @@
|
||||
{:id "favorites" :title "Favorites" :systemImage "star" :role "normal"}
|
||||
{:id "quick-add" :title "Capture" :systemImage "plus" :role "normal"}
|
||||
{:id "settings" :title "Settings" :systemImage "gear" :role "normal"}]))
|
||||
|
||||
(defn hide!
|
||||
[]
|
||||
nil
|
||||
;; (when (mobile-util/native-ios?)
|
||||
;; (.hide ^js TabsBar))
|
||||
)
|
||||
|
||||
(defn show!
|
||||
[]
|
||||
nil
|
||||
;; (when (mobile-util/native-ios?)
|
||||
;; (.show ^js TabsBar))
|
||||
)
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
[frontend.ui :as ui]
|
||||
[logseq.shui.popup.core :as shui-popup]
|
||||
[logseq.shui.ui :as shui]
|
||||
[mobile.bottom-tabs :as bottom-tabs]
|
||||
[mobile.state :as mobile-state]
|
||||
[rum.core :as rum]))
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
[frontend.util :as util]
|
||||
[lambdaisland.glogi :as log]
|
||||
[logseq.shui.ui :as shui]
|
||||
[mobile.bottom-tabs :as bottom-tabs]
|
||||
[mobile.components.app :as app]
|
||||
[mobile.events]
|
||||
[mobile.init :as init]
|
||||
@@ -54,7 +53,6 @@
|
||||
(reset! *route-timeout
|
||||
(js/setTimeout #(route-handler/set-route-match! route) 200)))
|
||||
|
||||
(bottom-tabs/show!)
|
||||
(case route-name
|
||||
:page
|
||||
(let [id-str (get-in route [:path-params :name])]
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
[frontend.util.text :as text-util]
|
||||
[goog :refer [Uri]]
|
||||
[logseq.common.util :as common-util]
|
||||
[mobile.state :as mobile-state]
|
||||
[promesa.core :as p]))
|
||||
|
||||
(def *link-to-another-graph (atom false))
|
||||
|
||||
@@ -13,9 +13,7 @@
|
||||
[frontend.util :as util]
|
||||
[lambdaisland.glogi :as log]
|
||||
[logseq.shui.dialog.core :as shui-dialog]
|
||||
[mobile.components.ui :as cc-ui]
|
||||
[mobile.deeplink :as deeplink]
|
||||
[mobile.state :as mobile-state]
|
||||
[promesa.core :as p]))
|
||||
|
||||
;; FIXME: `appUrlOpen` are fired twice when receiving a same intent.
|
||||
|
||||
Reference in New Issue
Block a user