Skip to content

Commit

Permalink
remove debug print. Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
llcc committed Jun 23, 2022
1 parent 01ba8c9 commit 92d33d4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
4 changes: 4 additions & 0 deletions android/app/src/main/assets/capacitor.config.json
Expand Up @@ -17,5 +17,9 @@
},
"ios": {
"scheme": "Logseq"
},
"server": {
"url": "http://192.168.2.29:3001",
"cleartext": true
}
}
8 changes: 4 additions & 4 deletions capacitor.config.ts
Expand Up @@ -23,10 +23,10 @@ const config: CapacitorConfig = {
}
// do not commit this into source control
// source: https://capacitorjs.com/docs/guides/live-reload
// , server: {
// url: process.env.LOGSEQ_APP_SERVER_URL,
// cleartext: true
// }
, server: {
url: "http://192.168.2.29:3001",
cleartext: true
}
};

export = config;
2 changes: 1 addition & 1 deletion ios/App/App/capacitor.config.json
Expand Up @@ -19,7 +19,7 @@
"scheme": "Logseq"
},
"server": {
"url": "http://192.168.1.59:3001",
"url": "http://192.168.2.29:3001",
"cleartext": true
}
}
2 changes: 1 addition & 1 deletion src/main/frontend/handler.cljs
Expand Up @@ -108,7 +108,7 @@

(page-handler/init-commands!)

(watch-for-date!)
;; (watch-for-date!)
(file-handler/watch-for-current-graph-dir!)
(state/pub-event! [:graph/ready (state/get-current-repo)])
(state/pub-event! [:graph/restored (state/get-current-repo)])))
Expand Down
2 changes: 0 additions & 2 deletions src/main/frontend/handler/block.cljs
Expand Up @@ -154,8 +154,6 @@
[target]
(let [user-defined-tags (get-in (state/get-config)
[:mobile :gestures/disabled-in-block-with-tags])]
(prn (some #(.closest target (util/format "[data-refs-self*=%s]" %))
user-defined-tags))
(or (.closest target ".dsl-query")
(.closest target ".drawer")
(some #(.closest target (util/format "[data-refs-self*=%s]" %))
Expand Down

0 comments on commit 92d33d4

Please sign in to comment.