From 3c82503b63840614e6ba77983d9544bfc8373b76 Mon Sep 17 00:00:00 2001 From: GCyganek Date: Tue, 7 Oct 2025 13:08:34 +0200 Subject: [PATCH] Make NotificationPreferencePage use new SelectionList --- src/pages/settings/Report/NotificationPreferencePage.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/settings/Report/NotificationPreferencePage.tsx b/src/pages/settings/Report/NotificationPreferencePage.tsx index f375ed836e42..2ea06d5f23e5 100644 --- a/src/pages/settings/Report/NotificationPreferencePage.tsx +++ b/src/pages/settings/Report/NotificationPreferencePage.tsx @@ -4,8 +4,8 @@ import type {ValueOf} from 'type-fest'; import FullPageNotFoundView from '@components/BlockingViews/FullPageNotFoundView'; import HeaderWithBackButton from '@components/HeaderWithBackButton'; import ScreenWrapper from '@components/ScreenWrapper'; -import SelectionList from '@components/SelectionListWithSections'; -import RadioListItem from '@components/SelectionListWithSections/RadioListItem'; +import SelectionList from '@components/SelectionList'; +import RadioListItem from '@components/SelectionList/ListItem/RadioListItem'; import useLocalize from '@hooks/useLocalize'; import useReportIsArchived from '@hooks/useReportIsArchived'; import type {PlatformStackRouteProp, PlatformStackScreenProps} from '@libs/Navigation/PlatformStackNavigation/types'; @@ -59,11 +59,11 @@ function NotificationPreferencePage({report}: NotificationPreferencePageProps) { onBackButtonPress={goBack} /> updateNotificationPreferenceForReportAction(option.value)} shouldSingleExecuteRowSelect - initiallyFocusedOptionKey={notificationPreferenceOptions.find((locale) => locale.isSelected)?.keyForList} + initiallyFocusedItemKey={notificationPreferenceOptions.find((locale) => locale.isSelected)?.keyForList} />