mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-16 05:47:09 +08:00
feat(mobile): add delete account function (#12688)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a "Delete my account" option in mobile settings with role-based warnings and confirmation modals. - **Enhancements** - Added flexible row and reverse row layout options for modal footers and action buttons on mobile. - **Localization** - Added English translation for the "Delete my account" setting. - **Style** - Updated styles for modal footers and action buttons on mobile. - Added styling for account deletion dialog descriptions. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -2747,6 +2747,10 @@ export function useAFFiNEI18N(): {
|
||||
* `Official website`
|
||||
*/
|
||||
["com.affine.mobile.setting.others.website"](): string;
|
||||
/**
|
||||
* `Delete my account`
|
||||
*/
|
||||
["com.affine.mobile.setting.others.delete-account"](): string;
|
||||
/**
|
||||
* `Want to keep data local?`
|
||||
*/
|
||||
|
||||
@@ -685,6 +685,7 @@
|
||||
"com.affine.mobile.setting.others.terms": "Terms of use",
|
||||
"com.affine.mobile.setting.others.title": "Privacy & others",
|
||||
"com.affine.mobile.setting.others.website": "Official website",
|
||||
"com.affine.mobile.setting.others.delete-account": "Delete my account",
|
||||
"com.affine.mobile.sign-in.skip.hint": "Want to keep data local?",
|
||||
"com.affine.mobile.sign-in.skip.link": "Start AFFiNE without an account",
|
||||
"com.affine.moreThan30Days": "Older than a month",
|
||||
|
||||
Reference in New Issue
Block a user