mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 12:51:42 +03:00
fine tuning
This commit is contained in:
parent
9a6e49a481
commit
39032ba74b
@ -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}
|
||||
|
@ -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
|
||||
})
|
Loading…
Reference in New Issue
Block a user