enhance: replace favorite related fns

This commit is contained in:
rcmerci
2024-01-25 19:11:26 +08:00
parent 3365482d34
commit 7d54918ca6
3 changed files with 41 additions and 16 deletions

View File

@@ -104,7 +104,7 @@
{:class "w-60"}
(when-not recent?
(shui/context-menu-item
{:on-click #(page-handler/unfavorite-page! original-name)}
{:on-click #(page-handler/<unfavorite-page! original-name)}
(ctx-icon "star-off")
(t :page/unfavorite)
(shui/context-menu-shortcut (some-> (shortcut-dh/shortcut-binding :command/toggle-favorite) (first)