Skip to content

Commit e1ab0ea

Browse files
committed
fix category page
1 parent 8a830e0 commit e1ab0ea

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

src/pages/workspace/rules/SpendRules/SpendRuleCategoryPage.tsx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import BlockingView from '@components/BlockingViews/BlockingView';
44
import FormAlertWithSubmitButton from '@components/FormAlertWithSubmitButton';
55
import HeaderWithBackButton from '@components/HeaderWithBackButton';
66
import ScreenWrapper from '@components/ScreenWrapper';
7+
import ScrollView from '@components/ScrollView';
78
import SelectionList from '@components/SelectionList';
89
import MultiSelectListItem from '@components/SelectionList/ListItem/MultiSelectListItem';
910
import type {ListItem} from '@components/SelectionList/types';
@@ -125,12 +126,14 @@ function SpendRuleCategoryPage({route}: SpendRuleCategoryPageProps) {
125126
shouldUpdateFocusedIndex
126127
shouldPreventDefaultFocusOnSelectRow={!canUseTouchScreen()}
127128
listEmptyContent={
128-
<BlockingView
129-
icon={illustrations.Telescope}
130-
iconWidth={variables.emptyListIconWidth}
131-
iconHeight={variables.emptyListIconHeight}
132-
title={translate('common.noResultsFound')}
133-
/>
129+
<ScrollView contentContainerStyle={[styles.flexGrow1]}>
130+
<BlockingView
131+
icon={illustrations.Telescope}
132+
iconWidth={variables.emptyListIconWidth}
133+
iconHeight={variables.emptyListIconHeight}
134+
title={translate('common.noResultsFound')}
135+
/>
136+
</ScrollView>
134137
}
135138
footerContent={
136139
<FormAlertWithSubmitButton

0 commit comments

Comments
 (0)