Skip to content

Commit c7807b2

Browse files
authored
Fix breaking API changes from #2073 (#2093)
1 parent 5189094 commit c7807b2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Sources/Public/Animation/LottieAnimationView.swift

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,15 @@ open class LottieAnimationView: LottieAnimationViewBase {
302302

303303
// MARK: Public
304304

305+
/// The configuration that this `LottieAnimationView` uses when playing its animation
306+
public var configuration: LottieConfiguration {
307+
lottieAnimationLayer.configuration
308+
}
309+
305310
/// Value Providers that have been registered using `setValueProvider(_:keypath:)`
306-
public private(set) var valueProviders = [AnimationKeypath: AnyValueProvider]()
311+
public var valueProviders: [AnimationKeypath: AnyValueProvider] {
312+
lottieAnimationLayer.valueProviders
313+
}
307314

308315
/// Describes the behavior of an AnimationView when the app is moved to the background.
309316
///

0 commit comments

Comments
 (0)