enhance(ui): improvements for the narrow screen

This commit is contained in:
charlie
2025-03-25 14:58:29 +08:00
parent 4d58925ad7
commit 2bc243da0d
6 changed files with 37 additions and 80 deletions

View File

@@ -700,7 +700,7 @@
[(:db/id (db/get-page page)) :page])]
(state/sidebar-add-block! current-repo db-id block-type)))
(reset! sidebar-inited? true))))
(when (state/mobile?)
(when (mobile-util/native-platform?)
(state/set-state! :mobile/show-tabbar? true))
state)}
[]