fix: use scrollview

This commit is contained in:
Adrian Castro
2024-03-05 19:16:22 +01:00
parent ed27c90394
commit 0bf34e4ea7

View File

@@ -129,10 +129,14 @@ export default function SearchScreen() {
</View> </View>
</Animated.View> </Animated.View>
) : ( ) : (
<View style={{ flex: 1 }}> <ScrollView
scrollEnabled={
bookmarks.length > 0 || watching.length > 0 ? true : false
}
>
<ItemListSection title="Bookmarks" items={bookmarks} /> <ItemListSection title="Bookmarks" items={bookmarks} />
<ItemListSection title="Continue Watching" items={watching} /> <ItemListSection title="Continue Watching" items={watching} />
</View> </ScrollView>
)} )}
</ScreenLayout> </ScreenLayout>
</ScrollView> </ScrollView>