Skip to content

Commit e21f58d

Browse files
committed
fix bug
1 parent a972c03 commit e21f58d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/EKTabBarController/EKFloatingBarView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class EKFloatingBarView: UIView {
4242
super.layoutSubviews()
4343

4444
layer.cornerRadius = cornerRadius
45-
layer.borderColor = borderColor
45+
layer.borderColor = borderColor.cgColor
4646
layer.borderWidth = borderWidth
4747

4848
}

Sources/EKTabBarController/EKTabBarController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ private extension EKTabBarController {
9696

9797
func makeFloatingBarView() -> EKFloatingBarView {
9898
let items = controllerItems.compactMap({ $0.tabBarButtonItem })
99-
return EKFloatingBarView(items, cornerRadius: cornerRadius, backgroundColor: backColor)
99+
return EKFloatingBarView(items, cornerRadius: cornerRadius, backgroundColor: backColor, borderWidth: borderWidth, borderColor: borderColor)
100100
}
101101

102102
func createNavViewController(viewController: UIViewController, title: String, imageName: String) -> UIViewController {

0 commit comments

Comments
 (0)