enhance: bottom bar to show undo mode

This commit is contained in:
Tienson Qin
2023-04-06 23:37:42 +08:00
parent e04ec1dd08
commit 6f1237a8b5
6 changed files with 52 additions and 14 deletions

View File

@@ -2095,13 +2095,3 @@ Similar to re-frame subscriptions"
(defn clear-user-info!
[]
(storage/remove :user-groups))
(defn toggle-undo-redo-mode!
[]
(if (:history/page-only-mode? @state)
(swap! state assoc
:history/page-only-mode? false
:history/page nil)
(swap! state assoc
:history/page-only-mode? true
:history/page nil)))