fix: Ensure proper spacing in downloads screen

This commit is contained in:
Lei Nelissen
2022-11-12 17:30:30 +01:00
parent f8812bc75c
commit cd10ddd260

View File

@@ -73,7 +73,7 @@ function Downloads() {
*/
const ListHeaderComponent = useMemo(() => (
<View style={[{ paddingHorizontal: 20, paddingBottom: 12, borderBottomWidth: 0.5 }, defaultStyles.border]}>
<View style={[{ paddingHorizontal: 20, paddingBottom: 12, paddingTop: 12, borderBottomWidth: 0.5 }, defaultStyles.border]}>
<View style={{ flexDirection: 'row', alignItems: 'center' }}>
<Text
style={[
@@ -154,7 +154,7 @@ function Downloads() {
<FlatList
data={ids}
style={{ flex: 1, paddingTop: 12 }}
contentContainerStyle={{ flexGrow: 1 }}
contentContainerStyle={{ flexGrow: 1, paddingBottom: 24 }}
renderItem={renderItem}
/>
</SafeAreaView>