diff --git a/app/(tabs)/personal.tsx b/app/(tabs)/personal.tsx index 9d8b762..f485680 100644 --- a/app/(tabs)/personal.tsx +++ b/app/(tabs)/personal.tsx @@ -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'), + }, ], }] : []), { diff --git a/components/model/MembershipModal.tsx b/components/model/MembershipModal.tsx index 57170da..d57f65e 100644 --- a/components/model/MembershipModal.tsx +++ b/components/model/MembershipModal.tsx @@ -1082,7 +1082,7 @@ export function MembershipModal({ visible, onClose, onPurchaseSuccess }: Members {loading ? ( @@ -1120,12 +1120,12 @@ export function MembershipModal({ visible, onClose, onPurchaseSuccess }: Members style={[ styles.purchaseButton, styles.fallbackPurchaseButton, - (loading || products.length === 0 || !agreementAccepted) && styles.disabledButton + (loading || products.length === 0) && styles.disabledButton ]} > {loading ? (