Skip to content

Commit 018c63d

Browse files
authored
fix(ios): add backend property to legacy HybridRiveFileFactory (#236)
The experimental factory already has `var backend: String { "experimental" }`. This adds the matching property to the legacy side so `RiveFileFactory.backend` works for both backends.
1 parent 32f85f2 commit 018c63d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ios/legacy/HybridRiveFileFactory.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import NitroModules
22
import RiveRuntime
33

44
final class HybridRiveFileFactory: HybridRiveFileFactorySpec, @unchecked Sendable {
5+
var backend: String { "legacy" }
56

67
/// Asynchronously creates a `HybridRiveFileSpec` by performing the following steps:
78
/// 1. Executes `check()` to validate or fetch initial data.

0 commit comments

Comments
 (0)