From 0a426b57e540d5f77b7514e4b5ab4dfe94647e28 Mon Sep 17 00:00:00 2001 From: Jimmy Hogoboom Date: Fri, 22 Nov 2024 08:50:41 -0600 Subject: [PATCH] fix: apply configured icon background (#237) --- packages/web-shared/components/Profile/Profile.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/web-shared/components/Profile/Profile.js b/packages/web-shared/components/Profile/Profile.js index 3807bd7d..531a3ac3 100644 --- a/packages/web-shared/components/Profile/Profile.js +++ b/packages/web-shared/components/Profile/Profile.js @@ -75,6 +75,8 @@ const Profile = ({ theme, handleCloseProfile, ...rest }) => { setImgSrc(''); }; + const { colors } = JSON.parse(currentChurch?.theme) || {}; + return ( <> @@ -214,7 +216,10 @@ const Profile = ({ theme, handleCloseProfile, ...rest }) => { justifyContent="center" alignItems="center" > - +

{rest.adTitle || 'Stay Connected'}