From 813e4ee730eb3ac1ac76070f321eaafd72c6bb0d Mon Sep 17 00:00:00 2001 From: flexsurfer Date: Thu, 23 May 2024 10:54:38 +0200 Subject: [PATCH] Syncing/Sync failed screens are missing illustrations #20068 (#20142) --- .../contexts/onboarding/syncing/progress/view.cljs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/status_im/contexts/onboarding/syncing/progress/view.cljs b/src/status_im/contexts/onboarding/syncing/progress/view.cljs index ad8c05af9d..5317a746aa 100644 --- a/src/status_im/contexts/onboarding/syncing/progress/view.cljs +++ b/src/status_im/contexts/onboarding/syncing/progress/view.cljs @@ -2,6 +2,7 @@ (:require [quo.core :as quo] [react-native.core :as rn] + [status-im.config :as config] [status-im.contexts.onboarding.common.background.view :as background] [status-im.contexts.onboarding.syncing.progress.style :as style] [utils.debounce :as debounce] @@ -54,11 +55,13 @@ (when-not in-onboarding? [background/view true]) [quo/page-nav {:type :no-title :background :blur}] [page-title (pairing-progress pairing-status)] - (if (pairing-progress pairing-status) - [rn/view {:style style/page-illustration} - [quo/text "[Success here]"]] - [rn/view {:style style/page-illustration} - [quo/text "[Error here]"]]) + (if config/show-not-implemented-features? + (if (pairing-progress pairing-status) + [rn/view {:style style/page-illustration} + [quo/text "[Success here]"]] + [rn/view {:style style/page-illustration} + [quo/text "[Error here]"]]) + [rn/view {:flex 1}]) (when-not (pairing-progress pairing-status) [try-again-button profile-color in-onboarding? logged-in?])]))