@iternio/react-native-auto-play 0.0.3 → 0.0.4

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.
@@ -622,7 +622,7 @@ object Parser {
622
622
  setRoundaboutExitNumber(it.toInt())
623
623
  }
624
624
  nitroManeuver.angle?.let { roundaboutExitAngle ->
625
- val angle = (180 + roundaboutExitAngle).toInt().let { if (it == 0) 360 else it }
625
+ val angle = ((180 - roundaboutExitAngle) % 360).toInt().let { if (it == 0) 360 else it }
626
626
  setRoundaboutExitAngle(angle)
627
627
  }
628
628
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iternio/react-native-auto-play",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Android Auto and Apple CarPlay for react-native",
5
5
  "main": "lib/index",
6
6
  "module": "lib/index",