Update the Deactivate Account strings (and icon) to call it Delete Account. (#5458)

Use the new strings and icon.

Snapshots have already been updated.
This commit is contained in:
Doug
2026-04-21 15:50:27 +01:00
committed by GitHub
parent 4e1c855467
commit e373969354
6 changed files with 18 additions and 10 deletions
@@ -44,7 +44,7 @@ class DeactivateAccountScreenViewModel: DeactivateAccountScreenViewModelType, De
state.bindings.alertInfo = .init(id: .confirmation,
title: L10n.screenDeactivateAccountTitle,
message: L10n.screenDeactivateAccountConfirmationDialogContent,
primaryButton: .init(title: L10n.actionDeactivate) {
primaryButton: .init(title: L10n.actionDelete) {
Task { await self.deactivateAccount() }
},
secondaryButton: .init(title: L10n.actionCancel, role: .cancel, action: nil))
@@ -20,7 +20,7 @@ struct DeactivateAccountScreen: View {
}
.compoundList()
.safeAreaInset(edge: .bottom) {
Button(L10n.actionDeactivateAccount, role: .destructive) {
Button(L10n.actionDeleteAccount, role: .destructive) {
context.send(viewAction: .deactivate)
}
.buttonStyle(.compound(.primary))