Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2705836

Browse files
fix width
1 parent 806b7c8 commit 2705836

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Sources/ZYCommonUtil/CustomNavViewController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ open class NavBarView: UIView {
4949
rightBtn.setImage(UIImage(named: "common_home_white"), for: .normal)
5050
addSubview(rightBtn)
5151
rightBtn.snp.makeConstraints { make in
52-
make.size.equalTo(CGSize(width: 30, height: 30))
52+
// make.size.equalTo(CGSize(width: 30, height: 30))
53+
make.height.equalTo(30)
5354
make.bottom.equalTo(-7)
5455
make.right.equalTo(-15)
5556
}

0 commit comments

Comments
 (0)