Skip to content

Commit f43459f

Browse files
committed
fix: wrong mobile event
1 parent e95c936 commit f43459f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/frontend/components/repo.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@
304304
(when-not config/publishing?
305305
(shui/button {:size :sm :variant :ghost
306306
:on-click (fn []
307-
(if (util/mobile?)
307+
(if (util/capacitor?)
308308
(state/pub-event! [:mobile/set-tab "graphs"])
309309
(route-handler/redirect-to-all-graphs)))}
310310
(shui/tabler-icon "layout-2") [:span (t :all-graphs)]))])

0 commit comments

Comments
 (0)