From 1708b72e51dd2bc0257009c72521c1e893f05617 Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Fri, 30 Aug 2024 01:57:18 +0800 Subject: [PATCH] disable single execution for avatar with image picker --- src/pages/settings/Profile/ProfilePage.tsx | 40 ++++++++++++---------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/src/pages/settings/Profile/ProfilePage.tsx b/src/pages/settings/Profile/ProfilePage.tsx index b62342aa56f4..cc3d93c3db25 100755 --- a/src/pages/settings/Profile/ProfilePage.tsx +++ b/src/pages/settings/Profile/ProfilePage.tsx @@ -155,25 +155,27 @@ function ProfilePage({ titleStyles={styles.accountSettingsSectionTitle} > - Navigation.navigate(ROUTES.PROFILE_AVATAR.getRoute(String(accountID)))} - previewSource={UserUtils.getFullSizeAvatar(avatarURL, accountID)} - originalFileName={currentUserPersonalDetails.originalFileName} - headerTitle={translate('profilePage.profileAvatar')} - fallbackIcon={currentUserPersonalDetails?.fallbackIcon} - editIconStyle={styles.profilePageAvatar} - /> + + Navigation.navigate(ROUTES.PROFILE_AVATAR.getRoute(String(accountID)))} + previewSource={UserUtils.getFullSizeAvatar(avatarURL, accountID)} + originalFileName={currentUserPersonalDetails.originalFileName} + headerTitle={translate('profilePage.profileAvatar')} + fallbackIcon={currentUserPersonalDetails?.fallbackIcon} + editIconStyle={styles.profilePageAvatar} + /> + {publicOptions.map((detail, index) => (