Merge branch 'develop' into feature/pagination

This commit is contained in:
Krishna Kishore Bandaru 2024-03-02 18:27:22 +05:30
commit d259e0c593
3 changed files with 10 additions and 1 deletions

View File

@ -132,4 +132,8 @@ open class Control: UIControl, ViewProtocol, UserInfoable, Clickable {
return true return true
} }
open override func layoutSubviews() {
super.layoutSubviews()
setNeedsUpdate()
}
} }

View File

@ -86,4 +86,9 @@ open class View: UIView, ViewProtocol, UserInfoable {
isEnabled = true isEnabled = true
} }
open override func layoutSubviews() {
super.layoutSubviews()
setNeedsUpdate()
}
} }

View File

@ -80,7 +80,7 @@ open class Loader: View {
super.updateView() super.updateView()
icon.color = iconColorConfiguration.getColor(self) icon.color = iconColorConfiguration.getColor(self)
icon.customSize = size icon.customSize = size
if isActive { if isActive && isVisibleOnScreen {
startAnimating() startAnimating()
} else { } else {
stopAnimating() stopAnimating()