Debounce next in onboarding
Fixes #11043 Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
This commit is contained in:
parent
485dd99e52
commit
25721688db
|
@ -18,6 +18,7 @@
|
||||||
[status-im.utils.identicon :as identicon]
|
[status-im.utils.identicon :as identicon]
|
||||||
[status-im.utils.platform :as platform]
|
[status-im.utils.platform :as platform]
|
||||||
[status-im.utils.security :as security]
|
[status-im.utils.security :as security]
|
||||||
|
[status-im.utils.debounce :refer [dispatch-and-chill]]
|
||||||
[quo.core :as quo]
|
[quo.core :as quo]
|
||||||
[status-im.ui.screens.intro.carousel :as carousel]
|
[status-im.ui.screens.intro.carousel :as carousel]
|
||||||
[status-im.utils.utils :as utils])
|
[status-im.utils.utils :as utils])
|
||||||
|
@ -177,7 +178,7 @@
|
||||||
[toolbar/toolbar
|
[toolbar/toolbar
|
||||||
{:show-border? true
|
{:show-border? true
|
||||||
:right [quo/button
|
:right [quo/button
|
||||||
{:on-press #(re-frame/dispatch [forward-action])
|
{:on-press #(dispatch-and-chill [forward-action] 300)
|
||||||
:accessibility-label :onboarding-next-button
|
:accessibility-label :onboarding-next-button
|
||||||
:disabled (or processing?
|
:disabled (or processing?
|
||||||
(and (= step :create-code) weak-password?)
|
(and (= step :create-code) weak-password?)
|
||||||
|
|
Loading…
Reference in New Issue