Skip to content

Commit 78f196d

Browse files
authored
Merge pull request Expensify#77023 from software-mansion-labs/@zfurtak/migrate-SearchFiltersIsPage
Make `SearchFiltersIsPage` use new `SelectionList`
2 parents 51f9373 + ec4f4a2 commit 78f196d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/pages/Search/SearchAdvancedFiltersPage/SearchFiltersIsPage.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import FullScreenLoadingIndicator from '@components/FullscreenLoadingIndicator';
55
import HeaderWithBackButton from '@components/HeaderWithBackButton';
66
import ScreenWrapper from '@components/ScreenWrapper';
77
import SearchFilterPageFooterButtons from '@components/Search/SearchFilterPageFooterButtons';
8-
import SelectionList from '@components/SelectionListWithSections';
9-
import MultiSelectListItem from '@components/SelectionListWithSections/MultiSelectListItem';
10-
import type {ListItem} from '@components/SelectionListWithSections/types';
8+
import SelectionList from '@components/SelectionList';
9+
import MultiSelectListItem from '@components/SelectionList/ListItem/MultiSelectListItem';
10+
import type {ListItem} from '@components/SelectionList/types';
1111
import useLocalize from '@hooks/useLocalize';
1212
import useOnyx from '@hooks/useOnyx';
1313
import useThemeStyles from '@hooks/useThemeStyles';
@@ -89,10 +89,10 @@ function SearchFiltersIsPage() {
8989
/>
9090
<View style={[styles.flex1]}>
9191
<SelectionList
92-
shouldSingleExecuteRowSelect
93-
sections={[{data: listData}]}
92+
data={listData}
9493
ListItem={MultiSelectListItem}
9594
onSelectRow={updateSelectedItems}
95+
shouldSingleExecuteRowSelect
9696
/>
9797
</View>
9898
<FixedFooter style={styles.mtAuto}>

0 commit comments

Comments
 (0)