fine tuning

This commit is contained in:
Nouman Tahir 2021-04-04 01:30:48 +05:00
parent 9a6e49a481
commit 39032ba74b
2 changed files with 9 additions and 9 deletions

View File

@ -134,7 +134,7 @@ export const UploadsGalleryModal = forwardRef(({username, handleOnSelect, handl
iconType="MaterialCommunityIcons"
name="delete"
onPress={_onRemovePress}
size={16}
size={20}
/>
</View>
@ -185,7 +185,7 @@ export const UploadsGalleryModal = forwardRef(({username, handleOnSelect, handl
keyExtractor={(item) => `item_${item.url}`}
renderItem={_renderItem}
ListEmptyComponent={_renderEmptyContent}
numColumns={3}
numColumns={2}
refreshControl={
<RefreshControl
refreshing={isLoading}

View File

@ -1,7 +1,7 @@
import { TextStyle, StyleSheet, ViewStyle, Dimensions, ImageStyle } from 'react-native';
import EStyleSheet from 'react-native-extended-stylesheet';
const gridItemWidth = ((Dimensions.get('window').width/3) - 28);
const gridItemWidth = ((Dimensions.get('window').width/2) - 32);
const gridItemHeight = (gridItemWidth * 500)/600
export default EStyleSheet.create({
@ -85,19 +85,19 @@ export default EStyleSheet.create({
} as ViewStyle,
itemIcon:{
borderRadius:8,
overflow:'hidden',
color:'$white',
backgroundColor:'$primaryRed'
} as ViewStyle,
itemIconWrapper:{
marginLeft:8,
justifyContent:'center',
alignItems:'center',
backgroundColor:'$primaryRed',
} as ViewStyle,
removeItemContainer:{
position:'absolute',
top:8,
right:8
top:16,
right:16
} as ViewStyle
})