Syncing/Sync failed screens are missing illustrations #20068 (#20142)

This commit is contained in:
flexsurfer 2024-05-23 10:54:38 +02:00 committed by GitHub
parent 5eba373c3c
commit 813e4ee730
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 5 deletions

View File

@ -2,6 +2,7 @@
(:require (:require
[quo.core :as quo] [quo.core :as quo]
[react-native.core :as rn] [react-native.core :as rn]
[status-im.config :as config]
[status-im.contexts.onboarding.common.background.view :as background] [status-im.contexts.onboarding.common.background.view :as background]
[status-im.contexts.onboarding.syncing.progress.style :as style] [status-im.contexts.onboarding.syncing.progress.style :as style]
[utils.debounce :as debounce] [utils.debounce :as debounce]
@ -54,11 +55,13 @@
(when-not in-onboarding? [background/view true]) (when-not in-onboarding? [background/view true])
[quo/page-nav {:type :no-title :background :blur}] [quo/page-nav {:type :no-title :background :blur}]
[page-title (pairing-progress pairing-status)] [page-title (pairing-progress pairing-status)]
(if (pairing-progress pairing-status) (if config/show-not-implemented-features?
[rn/view {:style style/page-illustration} (if (pairing-progress pairing-status)
[quo/text "[Success here]"]] [rn/view {:style style/page-illustration}
[rn/view {:style style/page-illustration} [quo/text "[Success here]"]]
[quo/text "[Error here]"]]) [rn/view {:style style/page-illustration}
[quo/text "[Error here]"]])
[rn/view {:flex 1}])
(when-not (pairing-progress pairing-status) (when-not (pairing-progress pairing-status)
[try-again-button profile-color in-onboarding? logged-in?])])) [try-again-button profile-color in-onboarding? logged-in?])]))