|
@@ -11,7 +11,7 @@ import { AvatarWithInitials, WarningModal } from 'src/components';
|
|
|
|
|
|
import { API_HOST } from '../../../../constants';
|
|
|
import { getFontSize } from '../../../../utils';
|
|
|
-import { adaptiveStyle } from '../../../../theme';
|
|
|
+import { adaptiveStyle, Colors } from '../../../../theme';
|
|
|
|
|
|
import TickIcon from '../../../../../assets/icons/tick.svg';
|
|
|
import UNIcon from '../../../../../assets/icons/un_icon.svg';
|
|
@@ -118,7 +118,9 @@ export const Profile: FC<Props> = ({
|
|
|
};
|
|
|
|
|
|
return (
|
|
|
- <View>
|
|
|
+ <View
|
|
|
+ style={{ backgroundColor: Colors.FILL_LIGHT, borderRadius: 8, padding: 6, marginBottom: 12 }}
|
|
|
+ >
|
|
|
<TouchableOpacity onPress={() => handlePress()}>
|
|
|
<View style={adaptiveStyle(ProfileStyles.profileRoot, {})}>
|
|
|
<View style={{ paddingLeft: 20 }}>
|
|
@@ -206,11 +208,7 @@ export const Profile: FC<Props> = ({
|
|
|
</View>
|
|
|
</View>
|
|
|
{modalType && (
|
|
|
- <WarningModal
|
|
|
- type={modalType}
|
|
|
- isVisible={true}
|
|
|
- onClose={() => setModalType(null)}
|
|
|
- />
|
|
|
+ <WarningModal type={modalType} isVisible={true} onClose={() => setModalType(null)} />
|
|
|
)}
|
|
|
</View>
|
|
|
);
|