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 e142fa3 commit 3cf8ade
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 3cf8ade

Please sign in to comment.