Skip to content

Commit

Permalink
keep map
Browse files Browse the repository at this point in the history
  • Loading branch information
brycnguyen committed Jan 8, 2024
1 parent 985073e commit 7563e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Video/RCTVideo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
"orientation": orientation,
],
"audioTracks": audioTracks,
"textTracks": _textTracks?.compactMap { $0.json } ?? textTracks,
"textTracks": _textTracks?.compactMap { $0.json } ?? textTracks.map(\.json),
"target": self.reactTag as Any])
}
}
Expand Down

0 comments on commit 7563e07

Please sign in to comment.