Browse Source

VLCEDitController: Change delete button style to destructive

Soomin Lee 6 years ago
parent
commit
eccf4eaa0e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Sources/VLCEditController.swift

+ 1 - 0
Sources/VLCEditController.swift

@@ -145,6 +145,7 @@ extension VLCEditController: VLCEditToolbarDelegate {
 
 
         let cancelButton = VLCAlertButton(title: NSLocalizedString("BUTTON_CANCEL", comment: ""))
         let cancelButton = VLCAlertButton(title: NSLocalizedString("BUTTON_CANCEL", comment: ""))
         let deleteButton = VLCAlertButton(title: NSLocalizedString("BUTTON_DELETE", comment: ""),
         let deleteButton = VLCAlertButton(title: NSLocalizedString("BUTTON_DELETE", comment: ""),
+                                          style: .destructive,
                                           action: {
                                           action: {
                                             [weak self] action in
                                             [weak self] action in
                                             self?.category.delete(objectsToDelete)
                                             self?.category.delete(objectsToDelete)