feat(electron): polish ui

This commit is contained in:
Tienson Qin
2021-01-27 23:55:30 +08:00
parent 5a02628a43
commit 1a9a7e5ec8
12 changed files with 34 additions and 22 deletions

View File

@@ -13,6 +13,10 @@
(defn handle-changed!
[type {:keys [dir path content stat] :as payload}]
;; (prn {:type type
;; :payload payload
;; :db-content (db/get-file path)
;; :timestamp (db/get-file-last-modified-at (state/get-current-repo) path)})
(when dir
(let [repo (config/get-local-repo dir)
{:keys [mtime]} stat]