updated placeholder image color

This commit is contained in:
Nouman Tahir 2023-02-24 20:43:58 +05:00
parent 59d7df5740
commit 1db65be2d2
2 changed files with 3 additions and 2 deletions

View File

@ -39,11 +39,12 @@ export const AutoHeightImage = ({
const imgStyle = {
width: imgWidth - 10,
height: imgHeight,
backgroundColor: onLoadCalled ? 'transparent' : EStyleSheet.value('$primaryGray'),
backgroundColor: onLoadCalled ? 'transparent' : EStyleSheet.value('$primaryLightBackground'),
};
const _onLoad = () => {
setOnLoadCalled(true);
};
return (

View File

@ -43,7 +43,7 @@ export default EStyleSheet.create({
// height: 200,
// width: '$deviceWidth - 16',
borderRadius: 8,
backgroundColor: '$primaryLightGray',
backgroundColor: '$primaryLightBackground',
},
hiddenImages: {
flexDirection: 'column',