Skip to content

Commit 9ad3da9

Browse files
committed
fix(mobile): failed to open "Import existing notes"
fix logseq/db-test#500
1 parent ace82d7 commit 9ad3da9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/main/mobile/core.cljs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,11 @@
6464
(mobile-state/redirect-to-tab! "settings")
6565

6666
:import
67-
(shui/popup-show! nil (fn []
68-
(imports/importer {}))
69-
{:id :import})
67+
(p/do!
68+
(p/delay 300)
69+
(shui/popup-show! nil (fn []
70+
(imports/importer {}))
71+
{:id :import}))
7072

7173
nil)))
7274

0 commit comments

Comments
 (0)