소스 검색

EditController: Cosmetic: Rename set better message for assert

Soomin Lee 5 년 전
부모
커밋
aee09d1f41
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      Sources/EditController.swift

+ 1 - 2
Sources/EditController.swift

@@ -224,9 +224,8 @@ extension EditController: EditToolbarDelegate {
     }
 
     func editToolbarDidRename(_ editToolbar: EditToolbar) {
-
         guard let indexPath = selectedCellIndexPaths.first else {
-            assertionFailure("called without selectedcells")
+            assertionFailure("EditController: Rename called without selection.")
             return
         }
         if let media = model.anyfiles[indexPath.row] as? VLCMLMedia {