Selaa lähdekoodia

enhance(mobile): display bullet of empty block by default

If not, it needs double touch to enter editing mode
leizhe 3 vuotta sitten
vanhempi
sitoutus
602c9d7ba3
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      src/main/frontend/components/block.cljs

+ 3 - 1
src/main/frontend/components/block.cljs

@@ -1469,7 +1469,9 @@
                                    "hide-inner-bullet"))}
                     [:span.bullet {:blockid (str uuid)}]]]]
        (cond
-         (and (:ui/show-empty-bullets? (state/get-config)) (not doc-mode?))
+         (and (or (mobile-util/is-native-platform?)
+                  (:ui/show-empty-bullets? (state/get-config)))
+              (not doc-mode?))
          bullet
 
          (or