feat(ui): 调整个人中心和会员购买界面布局
- 将推送通知设置移至开发者选项section - 移除会员购买按钮的协议接受状态限制 - 优化购买按钮的禁用条件逻辑
This commit is contained in:
@@ -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'),
|
||||
},
|
||||
],
|
||||
}] : []),
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user