diff --git a/CHANGELOG.md b/CHANGELOG.md
index 98a7865b..d380039b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- A rare error when video player is closed but does not have valid content
+- A rare error that can occur with loading indicators causing a crash
## [0.17.0] - 2023-11-17
diff --git a/playlet-lib/src/components/VideoFeed/VideoRowCell/LoadingRowCell.bs b/playlet-lib/src/components/VideoFeed/VideoRowCell/LoadingRowCell.bs
index 2dbb413d..1bbb3458 100644
--- a/playlet-lib/src/components/VideoFeed/VideoRowCell/LoadingRowCell.bs
+++ b/playlet-lib/src/components/VideoFeed/VideoRowCell/LoadingRowCell.bs
@@ -1,9 +1,7 @@
import "pkg:/source/utils/Types.bs"
function Init()
- ' TODO:P0 use component property with alias to fix crash
' TODO:P2 make component disposable, and stop animation when component is disposed
- m.animation = m.top.findNode("loadingAnimation")
m.top.observeField("visible", FuncName(OnVisibleChanged))
OnVisibleChanged()
end function
@@ -13,10 +11,10 @@ function OnVisibleChanged()
end function
function OnIndexSet()
- m.animation.delay = (m.top.index mod 5) * 0.2
+ m.top.animationDelay = (m.top.index mod 5) * 0.2
Animate()
end function
function Animate()
- m.animation.control = m.top.visible ? "start" : "stop"
+ m.top.animationControl = m.top.visible ? "start" : "stop"
end function
diff --git a/playlet-lib/src/components/VideoFeed/VideoRowCell/LoadingRowCell.xml b/playlet-lib/src/components/VideoFeed/VideoRowCell/LoadingRowCell.xml
index d486a859..31dbd36b 100644
--- a/playlet-lib/src/components/VideoFeed/VideoRowCell/LoadingRowCell.xml
+++ b/playlet-lib/src/components/VideoFeed/VideoRowCell/LoadingRowCell.xml
@@ -3,6 +3,8 @@
+
+