rearrange settings (#8519)

This commit is contained in:
Samuel Newman
2025-06-18 15:19:42 +03:00
committed by GitHub
parent 13d21692bf
commit dd86402763
@@ -117,6 +117,28 @@ export function NotificationSettingsScreen({}: Props) {
</View> </View>
)} )}
<View style={[a.gap_sm]}> <View style={[a.gap_sm]}>
<SettingsList.LinkItem
label={_(msg`Settings for like notifications`)}
to={{screen: 'LikeNotificationSettings'}}
contentContainerStyle={[a.align_start]}>
<SettingsList.ItemIcon icon={HeartIcon} />
<ItemTextWithSubtitle
titleText={<Trans>Likes</Trans>}
subtitleText={<SettingPreview preference={settings?.like} />}
showSkeleton={!settings}
/>
</SettingsList.LinkItem>
<SettingsList.LinkItem
label={_(msg`Settings for new follower notifications`)}
to={{screen: 'NewFollowerNotificationSettings'}}
contentContainerStyle={[a.align_start]}>
<SettingsList.ItemIcon icon={PersonPlusIcon} />
<ItemTextWithSubtitle
titleText={<Trans>New followers</Trans>}
subtitleText={<SettingPreview preference={settings?.follow} />}
showSkeleton={!settings}
/>
</SettingsList.LinkItem>
<SettingsList.LinkItem <SettingsList.LinkItem
label={_(msg`Settings for reply notifications`)} label={_(msg`Settings for reply notifications`)}
to={{screen: 'ReplyNotificationSettings'}} to={{screen: 'ReplyNotificationSettings'}}
@@ -150,17 +172,6 @@ export function NotificationSettingsScreen({}: Props) {
showSkeleton={!settings} showSkeleton={!settings}
/> />
</SettingsList.LinkItem> </SettingsList.LinkItem>
<SettingsList.LinkItem
label={_(msg`Settings for like notifications`)}
to={{screen: 'LikeNotificationSettings'}}
contentContainerStyle={[a.align_start]}>
<SettingsList.ItemIcon icon={HeartIcon} />
<ItemTextWithSubtitle
titleText={<Trans>Likes</Trans>}
subtitleText={<SettingPreview preference={settings?.like} />}
showSkeleton={!settings}
/>
</SettingsList.LinkItem>
<SettingsList.LinkItem <SettingsList.LinkItem
label={_(msg`Settings for repost notifications`)} label={_(msg`Settings for repost notifications`)}
to={{screen: 'RepostNotificationSettings'}} to={{screen: 'RepostNotificationSettings'}}
@@ -172,17 +183,6 @@ export function NotificationSettingsScreen({}: Props) {
showSkeleton={!settings} showSkeleton={!settings}
/> />
</SettingsList.LinkItem> </SettingsList.LinkItem>
<SettingsList.LinkItem
label={_(msg`Settings for new follower notifications`)}
to={{screen: 'NewFollowerNotificationSettings'}}
contentContainerStyle={[a.align_start]}>
<SettingsList.ItemIcon icon={PersonPlusIcon} />
<ItemTextWithSubtitle
titleText={<Trans>New followers</Trans>}
subtitleText={<SettingPreview preference={settings?.follow} />}
showSkeleton={!settings}
/>
</SettingsList.LinkItem>
{/* <SettingsList.LinkItem {/* <SettingsList.LinkItem
label={_(msg`Settings for activity alerts`)} label={_(msg`Settings for activity alerts`)}
to={{screen: 'ActivityNotificationSettings'}} to={{screen: 'ActivityNotificationSettings'}}