Selaa lähdekoodia

VLCEDitController: Change delete button style to destructive

Soomin Lee 6 vuotta sitten
vanhempi
commit
eccf4eaa0e
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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 deleteButton = VLCAlertButton(title: NSLocalizedString("BUTTON_DELETE", comment: ""),
+                                          style: .destructive,
                                           action: {
                                             [weak self] action in
                                             self?.category.delete(objectsToDelete)