|
@@ -205,11 +205,9 @@
|
|
|
(let [editing? (state/sub :editor/editing?)
|
|
(let [editing? (state/sub :editor/editing?)
|
|
|
code-block? (state/sub :editor/code-block-context)
|
|
code-block? (state/sub :editor/code-block-context)
|
|
|
quick-add? (mobile-state/quick-add-open?)
|
|
quick-add? (mobile-state/quick-add-open?)
|
|
|
- keep-open? (= "app-keep-keyboard-open-input"
|
|
|
|
|
- (some-> js/document.activeElement (.-id)))
|
|
|
|
|
show? (and (util/mobile?)
|
|
show? (and (util/mobile?)
|
|
|
(not code-block?)
|
|
(not code-block?)
|
|
|
- (or editing? keep-open?))
|
|
|
|
|
|
|
+ editing?)
|
|
|
actions (toolbar-actions quick-add?)]
|
|
actions (toolbar-actions quick-add?)]
|
|
|
(when (mobile-util/native-ios?)
|
|
(when (mobile-util/native-ios?)
|
|
|
(native-toolbar show? actions))))
|
|
(native-toolbar show? actions))))
|