self.isVisibleOnScreen for isActive
This commit is contained in:
parent
7496baa3df
commit
25058dd92d
@ -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, self.isVisibleOnScreen {
|
||||||
startAnimating()
|
startAnimating()
|
||||||
} else {
|
} else {
|
||||||
stopAnimating()
|
stopAnimating()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user