Skip to content

Commit bbfec7b

Browse files
committed
Update LoopPlayerMultiPlatform.swift
1 parent ae76db8 commit bbfec7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/swiftui-loop-videoplayer/view/main/LoopPlayerMultiPlatform.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ extension LoopPlayerMultiPlatform: UIViewRepresentable{
113113
let player = uiView.findFirstSubview(ofType: PlayerView.self)
114114
if let player {
115115
if let asset = getAssetIfChanged(for: settings, and: player.currentAsset) {
116-
player.update(asset: asset)
116+
player.update(asset: asset, loop: settings.loop)
117117
}
118118

119119
// Check if command changed before applying it

0 commit comments

Comments
 (0)