소스 검색

VLCEDitController: Change delete button style to destructive

Soomin Lee 6 년 전
부모
커밋
eccf4eaa0e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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)