feat(privacy): add personalized ads toggle in settings
- Add PrivacySettings schema with can_sell field (default: false) - Move privacy toggle to GeneralSettingsScreen with clear labeling - Update l10n for zh/en/zh_hant with user-friendly copy - Clean up redundant PrivacyNotificationSettingsScreen - Update profile-protocol.md to reflect new privacy schema - Fix basedpyright warnings in user.py
This commit is contained in:
@@ -325,7 +325,7 @@ class _EryaoAppState extends State<EryaoApp> {
|
||||
}
|
||||
|
||||
Future<ProfileSettingsV1> _saveProfile(ProfileSettingsV1 updated) async {
|
||||
final saved = await _profileApi.updateProfile(updated);
|
||||
final saved = await _profileApi.updateSettings(updated);
|
||||
if (!mounted) {
|
||||
return saved;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user