diff options
Diffstat (limited to 'src/view')
-rw-r--r-- | src/view/screens/NotificationsSettings.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/screens/NotificationsSettings.tsx b/src/view/screens/NotificationsSettings.tsx index 2716a07f9..8955119a6 100644 --- a/src/view/screens/NotificationsSettings.tsx +++ b/src/view/screens/NotificationsSettings.tsx @@ -8,7 +8,7 @@ import {AllNavigatorParams, NativeStackScreenProps} from '#/lib/routes/types' import {useNotificationFeedQuery} from '#/state/queries/notifications/feed' import {useNotificationsSettingsMutation} from '#/state/queries/notifications/settings' import {ViewHeader} from '#/view/com/util/ViewHeader' -import {CenteredView} from '#/view/com/util/Views' +import {ScrollView} from '#/view/com/util/Views' import {atoms as a, useTheme} from '#/alf' import {Error} from '#/components/Error' import * as Toggle from '#/components/forms/Toggle' @@ -34,7 +34,7 @@ export function NotificationsSettingsScreen({}: Props) { : serverPriority return ( - <CenteredView style={a.flex_1} sideBorders> + <ScrollView stickyHeaderIndices={[0]}> <ViewHeader title={_(msg`Notification Settings`)} showOnDesktop @@ -89,6 +89,6 @@ export function NotificationsSettingsScreen({}: Props) { </View> </View> )} - </CenteredView> + </ScrollView> ) } |