mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
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:
+1
-1
@@ -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))
|
||||
|
||||
+1
-1
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user