Merge pull request #2305 from ecency/sa/image-selection-modal-spacing-issue

added bottom spacing in image selection modal
This commit is contained in:
Nouman Tahir 2022-05-14 19:50:54 +05:00 committed by GitHub
commit 533bf74ed0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -241,6 +241,7 @@ export const UploadsGalleryModal = forwardRef(({username, handleOnSelect, uploa
keyExtractor={(item) => `item_${item.url}`} keyExtractor={(item) => `item_${item.url}`}
renderItem={_renderItem} renderItem={_renderItem}
ListEmptyComponent={_renderEmptyContent} ListEmptyComponent={_renderEmptyContent}
ListFooterComponent={<View style={styles.listEmptyFooter} />}
extraData={indices} extraData={indices}
numColumns={2} numColumns={2}
refreshControl={ refreshControl={

View File

@ -111,4 +111,8 @@ export default EStyleSheet.create({
backgroundColor:'$white', backgroundColor:'$white',
} as ViewStyle, } as ViewStyle,
listEmptyFooter: {
height: 80,
} as ViewStyle,
}) })