Skip to content

Commit

Permalink
Use warn instead of assertionFailure when detecting Repeater use…
Browse files Browse the repository at this point in the history
… in Main Thread rendering engine (airbnb#1754)
  • Loading branch information
AlexanderKvamme authored and Igor Moroz committed May 22, 2024
1 parent 437725d commit 75bebe9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ extension Array where Element == ShapeItem {
nodeTree.paths.append(contentsOf: tree.paths)
nodeTree.renderContainers.append(node.container)
} else if item is Repeater {
LottieLogger.shared.assertionFailure("""
LottieLogger.shared.warn("""
The Main Thread rendering engine doesn't currently support repeaters.
To play an animation with repeaters, you can use the Core Animation rendering engine instead.
""")
Expand Down

0 comments on commit 75bebe9

Please sign in to comment.