make some settings screens scrollable for accessibility (#4819)
* make settings scrollable for accessibility * nit
This commit is contained in:
parent
bfb7f6efef
commit
11f2415942
2 changed files with 6 additions and 6 deletions
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue