Skip to content

Commit

Permalink
fix: unallowed usage of 5.8 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRogue76 committed Aug 8, 2023
1 parent e26cb0a commit a96a7aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/ios/LottieReactNative/ContainerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class ContainerView: RCTView {
completion: { [weak self] view, error in
guard let self = self else { return }

if let error {
if let error = error {
self.failureCallback(error.localizedDescription)
return
}
Expand Down

0 comments on commit a96a7aa

Please sign in to comment.