Przeglądaj źródła

EditController: Cosmetic: Rename set better message for assert

Soomin Lee 5 lat temu
rodzic
commit
aee09d1f41
1 zmienionych plików z 1 dodań i 2 usunięć
  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 {