feat(ui): 调整个人中心和会员购买界面布局

- 将推送通知设置移至开发者选项section
- 移除会员购买按钮的协议接受状态限制
- 优化购买按钮的禁用条件逻辑
This commit is contained in:
richarjiang
2025-10-28 11:16:32 +08:00
parent 71a8bb9740
commit eaa7f7275c
2 changed files with 12 additions and 12 deletions

View File

@@ -347,12 +347,7 @@ export default function PersonalScreen() {
type: 'switch' as const,
switchValue: notificationEnabled,
onSwitchChange: handleNotificationToggle,
},
{
icon: 'settings-outline' as const,
title: '推送通知设置',
onPress: () => pushIfAuthedElseLogin('/push-notification-settings'),
},
}
],
},
// 开发者section需要连续点击三次用户名激活
@@ -364,6 +359,11 @@ export default function PersonalScreen() {
title: '开发者选项',
onPress: () => pushIfAuthedElseLogin(ROUTES.DEVELOPER),
},
{
icon: 'settings-outline' as const,
title: '推送通知设置',
onPress: () => pushIfAuthedElseLogin('/push-notification-settings'),
},
],
}] : []),
{