feat(ios): home screen quick actions for both voice and quick add

This commit is contained in:
Tienson Qin
2025-09-19 11:53:53 +08:00
parent 56eab1a61e
commit 885974434f
3 changed files with 69 additions and 5 deletions

View File

@@ -30,9 +30,9 @@
(map :url))
repo-names (map #(get-graph-name-fn %) repos)]
(cond
(= pathname "/audio")
(and (= hostname "go") (= pathname "/audio"))
(state/pub-event! [:mobile/start-audio-record])
(= pathname "/quick-add")
(and (= hostname "go") (= pathname "/quick-add"))
(state/pub-event! [:dialog/mobile-quick-add])
(= hostname "graph")
(let [graph-name (some-> pathname