mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 19:06:21 +00:00
fix(mobile): toggle priority issue
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
(defn cycle-priority-state
|
||||
[content]
|
||||
(let [priority-reg #"\[#(ABC){1}\]\s{1}"
|
||||
(let [priority-reg #"\[#([ABC]{1})\]\s{1}"
|
||||
priority (last (util/safe-re-find priority-reg content))
|
||||
next-priority (case priority
|
||||
"A" "B"
|
||||
|
||||
Reference in New Issue
Block a user