From acd2b9ea66d3917c0040af107c7496962b92b395 Mon Sep 17 00:00:00 2001 From: Vit Horacek Date: Wed, 13 Mar 2024 13:34:05 +0000 Subject: [PATCH] Add the correct icon styles for the avatars based on where they are used --- src/pages/settings/InitialSettingsPage.tsx | 1 + src/pages/workspace/WorkspaceProfilePage.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/pages/settings/InitialSettingsPage.tsx b/src/pages/settings/InitialSettingsPage.tsx index a57f308b5623..811ce38bdd1a 100755 --- a/src/pages/settings/InitialSettingsPage.tsx +++ b/src/pages/settings/InitialSettingsPage.tsx @@ -415,6 +415,7 @@ function InitialSettingsPage({session, userWallet, bankAccountList, fundList, wa originalFileName={currentUserDetails.originalFileName} headerTitle={translate('profilePage.profileAvatar')} fallbackIcon={currentUserDetails?.fallbackIcon} + editIconStyle={styles.smallEditIconAccount} /> Policy.updateWorkspaceAvatar(policy?.id ?? '', file as File)} onImageRemoved={() => Policy.deleteWorkspaceAvatar(policy?.id ?? '')}