enhance(mobile): remove theme-toggle shortcut tip in settings

pull/3360/head
leizhe 2021-11-28 15:19:03 +08:00
parent 2460b6d3e4
commit 153189422e
1 changed files with 3 additions and 2 deletions

View File

@ -287,8 +287,9 @@
[:li {:on-click (partial state/use-theme-mode! "system")
:class (classnames [{:active system-theme?}])} [:i.mode-system] [:strong "system"]]]]
[:div.pl-16
(ui/render-keyboard-shortcut (shortcut-helper/gen-shortcut-seq :ui/toggle-theme))]]])
(when-not (mobile-util/is-native-platform?)
[:div.pl-16
(ui/render-keyboard-shortcut (shortcut-helper/gen-shortcut-seq :ui/toggle-theme))])]])
(defn file-format-row [t preferred-format]
[:div.it.sm:grid.sm:grid-cols-3.sm:gap-4.sm:items-start