react-native-video-trim 1.0.13 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -251,10 +251,10 @@ class VideoTrimmerViewController: UIViewController {
251
251
  let finalTime = self.trimmer.trimmingState == .none ? CMTimeAdd(time, self.trimmer.selectedRange.start) : time
252
252
  self.trimmer.progress = finalTime
253
253
 
254
- if player.timeControlStatus == .playing {
255
- playBtn.setImage(pauseIcon, for: .normal)
254
+ if self.player.timeControlStatus == .playing {
255
+ self.playBtn.setImage(self.pauseIcon, for: .normal)
256
256
  } else {
257
- playBtn.setImage(playIcon, for: .normal)
257
+ self.playBtn.setImage(self.playIcon, for: .normal)
258
258
  }
259
259
  }
260
260
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-video-trim",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "Video trimmer for your React Native app",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",