Skip to content

Commit b911ceb

Browse files
committed
#1 - check and update for optional value
1 parent 3db061d commit b911ceb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ios/RNVideoProcessing/RNTrimmerView/RNTrimmerView.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ class RNTrimmerView: RCTView, ICGVideoTrimmerDelegate {
144144
if _minLength != nil {
145145
trimmerView!.minLength = _minLength!
146146
}
147+
if _thumbWidth != nil {
148+
trimmerView!.thumbWidth = _thumbWidth!
149+
}
147150
self.trimmerView!.resetSubviews()
148151
// Timer.scheduledTimer(timeInterval: 0.5, target: self, selector: #selector(self.updateTrimmer), userInfo: nil, repeats: false)
149152
}

0 commit comments

Comments
 (0)