Browse Source

enhance(settings): remove tooltip rows

leizhe 4 years ago
parent
commit
b9020813ce
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/main/frontend/components/settings.cljs

+ 3 - 2
src/main/frontend/components/settings.cljs

@@ -614,8 +614,9 @@
             (show-brackets-row t show-brackets?)
             (when (util/electron?) (switch-spell-check-row t))
             (outdenting-row t logical-outdenting?)
-            (shortcut-tooltip-row t enable-shortcut-tooltip?)
-            (tooltip-row t enable-tooltip?)
+            (when-not (or (util/mobile?) (mobile-util/is-native-platform?))
+              (shortcut-tooltip-row t enable-shortcut-tooltip?)
+              (tooltip-row t enable-tooltip?))
             (timetracking-row t enable-timetracking?)
             (journal-row t enable-journals?)
             (enable-all-pages-public-row t enable-all-pages-public?)