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

If not, it needs double touch to enter editing mode
This commit is contained in:
leizhe
2022-01-12 21:23:23 +08:00
committed by Tienson Qin
parent 9218843367
commit 602c9d7ba3

View File

@@ -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