diff --git a/src/screens/novel/components/SetCategoriesModal.tsx b/src/screens/novel/components/SetCategoriesModal.tsx index 9bdafb8f..9d6c38b0 100644 --- a/src/screens/novel/components/SetCategoriesModal.tsx +++ b/src/screens/novel/components/SetCategoriesModal.tsx @@ -1,5 +1,5 @@ import React, { useCallback, useEffect, useState } from 'react'; -import { FlatList, StyleSheet, Text, View } from 'react-native'; +import { Dimensions, FlatList, StyleSheet, Text, View } from 'react-native'; import { Divider, Portal } from 'react-native-paper'; import { NavigationProp, useNavigation } from '@react-navigation/native'; @@ -61,6 +61,7 @@ const SetCategoryModal: React.FC = ({ ( = ({ export default SetCategoryModal; const styles = StyleSheet.create({ + categoryList: { + maxHeight: Dimensions.get('window').height * 0.4, + }, divider: { height: 1, width: '90%', marginLeft: '5%' }, btnContainer: { flexDirection: 'row',