set circular progress UI with a proper size.
This commit is contained in:
parent
fe5bd4a9ac
commit
3afafe3bd7
@ -41,7 +41,7 @@ import UIKit
|
||||
// MARK: setup
|
||||
override open func setupView() {
|
||||
super.setupView()
|
||||
heightConstraint = heightAnchor.constraint(equalToConstant: 0)
|
||||
heightConstraint = heightAnchor.constraint(equalToConstant: 2*viewWidth)
|
||||
heightConstraint?.isActive = true
|
||||
widthAnchor.constraint(equalTo: heightAnchor).isActive = true
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user