From b1daf12486a86b3bb2cf2ed5be00d369def13a67 Mon Sep 17 00:00:00 2001 From: Shivek Khurana Date: Wed, 27 Oct 2021 15:22:24 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=99=85=F0=9F=8F=BB=20Add=20warning=20and?= =?UTF-8?q?=20disable=20option=20if=20no=20profile=20pic=20added?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove warning from list screen Signed-off-by: Shivek Khurana --- .../ui/screens/privacy_and_security_settings/views.cljs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/status_im/ui/screens/privacy_and_security_settings/views.cljs b/src/status_im/ui/screens/privacy_and_security_settings/views.cljs index 4595cfca4c..c1e65eda40 100644 --- a/src/status_im/ui/screens/privacy_and_security_settings/views.cljs +++ b/src/status_im/ui/screens/privacy_and_security_settings/views.cljs @@ -30,6 +30,7 @@ webview-allow-permission-requests? opensea-enabled? profile-pictures-visibility]} [:multiaccount] + has-picture [:profile/has-picture] supported-biometric-auth [:supported-biometric-auth] keycard? [:keycard-multiaccount?] auth-method [:auth-method] @@ -135,6 +136,7 @@ [quo/list-item {:size :small :title (i18n/label :t/show-profile-pictures-to) + :disabled (not has-picture) :accessibility-label :show-profile-pictures-to :accessory :text :accessory-text (get titles profile-pictures-show-to)