Skip to content

Commit

Permalink
Add the ability to specify the bundle to use
Browse files Browse the repository at this point in the history
  • Loading branch information
chuganzy committed Feb 12, 2019
1 parent 5a54b18 commit c93ad74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lottie-ios/Classes/Private/LOTComposition.m
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ + (nullable instancetype)animationNamed:(nonnull NSString *)animationName inBund

if (@available(iOS 9.0, *)) {
if (!jsonData) {
jsonData = [[NSDataAsset alloc] initWithName:animationName].data;
jsonData = [[NSDataAsset alloc] initWithName:animationName bundle:bundle].data;
}
}

Expand Down

0 comments on commit c93ad74

Please sign in to comment.