fix: disable on mobile

This commit is contained in:
Konstantinos Kaloutas
2022-11-28 18:25:49 +02:00
parent a9eb1944e5
commit 602f2f5a67

View File

@@ -300,7 +300,8 @@
[]
(when (and (user-handler/feature-available? :whiteboard)
(not (or (state/sub :whiteboard/onboarding?)
(state/enable-whiteboards?))))
(state/enable-whiteboards?)
(util/mobile?))))
(state/pub-event! [:whiteboard/onboarding])
(state/set-state! [:whiteboard/onboarding?] true)
(storage/set :whiteboard-onboarding? true)))