Browse Source

mark 'delete account' as destructive

B. Petersen 4 years ago
parent
commit
e79ac4de9f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      deltachat-ios/Controller/SettingsController.swift

+ 1 - 1
deltachat-ios/Controller/SettingsController.swift

@@ -500,7 +500,7 @@ internal final class SettingsViewController: UITableViewController, ProgressAler
         }))
         }))
 
 
         // delete account
         // delete account
-        menu.addAction(UIAlertAction(title: String.localized("delete_account"), style: .default, handler: { [weak self] _ in
+        menu.addAction(UIAlertAction(title: String.localized("delete_account"), style: .destructive, handler: { [weak self] _ in
             let confirm1 = UIAlertController(title: String.localized("delete_account_ask"), message: nil, preferredStyle: .safeActionSheet)
             let confirm1 = UIAlertController(title: String.localized("delete_account_ask"), message: nil, preferredStyle: .safeActionSheet)
             confirm1.addAction(UIAlertAction(title: String.localized("delete_account"), style: .destructive, handler: { [weak self] _ in
             confirm1.addAction(UIAlertAction(title: String.localized("delete_account"), style: .destructive, handler: { [weak self] _ in
                 guard let self = self else { return }
                 guard let self = self else { return }