瀏覽代碼

ButtonBarView: Use defined identifier

Soomin Lee 7 年之前
父節點
當前提交
bcf01ef95f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Sources/ButtonBarView.swift

+ 1 - 1
Sources/ButtonBarView.swift

@@ -37,7 +37,7 @@ class ButtonBarView: UICollectionView {
     func setup() {
         scrollsToTop = false
         showsHorizontalScrollIndicator = false
-        register(UINib(nibName: "VLCLabelCell", bundle: .main), forCellWithReuseIdentifier:VLCLabelCell.cellIdentifier)
+        register(UINib(nibName: VLCLabelCell.cellIdentifier, bundle: .main), forCellWithReuseIdentifier:VLCLabelCell.cellIdentifier)
 
         separatorView = UIView(frame: CGRect(x: 0, y: self.frame.size.height - separatorHeight, width: self.frame.size.width, height: separatorHeight))
         addSubview(separatorView)