Debounce next in onboarding

Fixes #11043

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
This commit is contained in:
Gheorghe Pinzaru 2020-08-20 11:39:02 +03:00
parent 485dd99e52
commit 25721688db
No known key found for this signature in database
GPG Key ID: C9A094959935A952
1 changed files with 2 additions and 1 deletions

View File

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