Skip to content

Commit

Permalink
Remove Account issues
Browse files Browse the repository at this point in the history
Bug: #245 - Remove Account issues.
1. Alert message title should be "Alert"
2. The label name in settings screen should be "Remove Account"
3. The success message should be "Your account has been deleted successfully"
  • Loading branch information
lijogeorgep authored and josmilan committed Dec 6, 2023
1 parent 7782037 commit 929f941
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/app/modules/settings/views/settings_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ class SettingsView extends BaseView<SettingsController> {
context: context,
builder: (BuildContext context) {
return CupertinoAlertDialog(
title: Text(appLocalization.settingsDeleteAccount),
title: Text(appLocalization.settingsAlert),
content: Text(appLocalization.settingsDeleteAccountContent),
actions: [
CupertinoDialogAction(
Expand Down
4 changes: 2 additions & 2 deletions lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"settingsDexcomLoginNo":"No",
"settingsLogout":"Logout",
"settingsSettings":"Settings",
"settingsDeleteAccount":"Remove My Account",
"settingsDeleteAccount":"Remove Account",
"settingsPrivacyPolicy":"Privacy Policy",
"settingsDeleteAccountSuccess":"User account deleted successfully",
"settingsDeleteAccountSuccess":"Your account has been deleted successfully",
"settingsDeleteAccountFail":"User does not exist",
"settingsDeleteAccountContent":"Do you want to delete your account?",
"settingsDeleteAccountYes":"Yes",
Expand Down
4 changes: 2 additions & 2 deletions lib/l10n/app_sv.arb
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"settingsDexcomLoginNo":"Nej",
"settingsLogout":"Logga ut",
"settingsSettings":"Inställningar",
"settingsDeleteAccount":"Ta bort mitt konto",
"settingsDeleteAccount":"Ta bort konto",
"settingsPrivacyPolicy":"Integritetspolicy",
"settingsDeleteAccountSuccess":"Användarkontot har tagits bort",
"settingsDeleteAccountSuccess":"Ditt konto har raderats framgångsrikt",
"settingsDeleteAccountFail":"Användaren finns inte",
"settingsDeleteAccountContent":"Vill du ta bort ditt konto?",
"settingsDeleteAccountYes":"Ja",
Expand Down

0 comments on commit 929f941

Please sign in to comment.