using checkContainer style instead of inline

This commit is contained in:
Nouman Tahir 2022-09-21 20:49:18 +05:00
parent b6c2c6b55d
commit 85c1e2d2e9

View File

@ -67,7 +67,7 @@ const ThumbSelectionContent = ({ body, thumbUrl, onThumbSelection, isUploading }
/>
{isSelected && (
<AnimatedView duration={300} animation='zoomIn' style={{ position: 'absolute', top: 12, left: 6, backgroundColor: EStyleSheet.value('$pureWhite'), borderRadius: 12 }}>
<AnimatedView duration={300} animation='zoomIn' style={styles.checkContainer}>
<Icon
color={EStyleSheet.value('$primaryBlue')}
iconType="MaterialCommunityIcons"