@@ -5,7 +5,7 @@ import type { PropsWithNavigation } from '@/views/navigation/NavigationStack';
55import { StyledSafeAreaView } from '@/style' ;
66import { Box } from 'react-native-flex-layout' ;
77import { useAppSelector } from '@/store' ;
8- import { ScrollView } from 'react-native' ;
8+ import { ScrollView , View } from 'react-native' ;
99import FirmwareListItem from '@/components/firmware/FirmwareListItem' ;
1010import { useTranslation } from 'react-i18next' ;
1111import useDtuState from '@/hooks/useDtuState' ;
@@ -53,7 +53,7 @@ const FirmwareListScreen: FC<PropsWithNavigation> = ({ navigation }) => {
5353 style = { { width : '100%' } }
5454 >
5555 { newReleases . length ? (
56- < >
56+ < View style = { { marginBottom : 16 } } >
5757 < Box style = { { marginHorizontal : 4 } } >
5858 < Text variant = "titleLarge" > { t ( 'firmwares.newReleases' ) } </ Text >
5959 </ Box >
@@ -64,10 +64,10 @@ const FirmwareListScreen: FC<PropsWithNavigation> = ({ navigation }) => {
6464 latestReleaseTag = { latestReleaseTag }
6565 />
6666 ) ) }
67- </ >
67+ </ View >
6868 ) : null }
6969 { outdatedReleases . length ? (
70- < >
70+ < View >
7171 < Box style = { { marginHorizontal : 4 } } >
7272 < Text variant = "titleLarge" >
7373 { t ( 'firmwares.outdatedReleases' ) }
@@ -80,7 +80,7 @@ const FirmwareListScreen: FC<PropsWithNavigation> = ({ navigation }) => {
8080 latestReleaseTag = { latestReleaseTag }
8181 />
8282 ) ) }
83- </ >
83+ </ View >
8484 ) : null }
8585 { newReleases . length === 0 && outdatedReleases . length === 0 ? (
8686 < Box style = { { marginHorizontal : 4 , flex : 1 } } >
0 commit comments