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 (#1754)
  • Loading branch information
AlexanderKvamme authored Sep 19, 2022
1 parent bbe6ad4 commit f318523
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 f318523

Please sign in to comment.