@ornikar/kitt-universal 29.3.2-canary.f2abfc91dffa35207c7250cfe664cca0fa103531.0 → 29.4.0

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.
package/dist/index.es.js CHANGED
@@ -3732,7 +3732,7 @@ function SpinningIcon(_ref) {
3732
3732
  toValue: 1,
3733
3733
  duration: 1100,
3734
3734
  easing: Easing.linear,
3735
- useNativeDriver: true
3735
+ useNativeDriver: Platform.OS !== 'web'
3736
3736
  }));
3737
3737
  animation.start();
3738
3738
  return function () {
@@ -4339,8 +4339,9 @@ function CardModalAnimation(_ref) {
4339
4339
  children: /*#__PURE__*/jsxs(View
4340
4340
  // This is an ugly workaround to make the Modal calculate its height correctly on Android.
4341
4341
  // This ugly workaround is used in FullScreenModalAnimation and DialogModalAnimation as well
4342
+ // TODO [expo@>=53]: Check if still needed
4342
4343
  , {
4343
- height: 1,
4344
+ height: Platform.OS === 'android' ? 1 : undefined,
4344
4345
  position: "relative",
4345
4346
  flexGrow: 1,
4346
4347
  justifyContent: "center",
@@ -5045,8 +5046,9 @@ function DialogModalAnimation(_ref) {
5045
5046
  children: /*#__PURE__*/jsxs(View
5046
5047
  // This is an ugly workaround to make the Modal calculate its height correctly on Android.
5047
5048
  // This ugly workaround is used in FullScreenModalAnimation and CardModalAnimation as well
5049
+ // TODO [expo@>=53]: Check if still needed
5048
5050
  , {
5049
- height: 1,
5051
+ height: Platform.OS === 'android' ? 1 : undefined,
5050
5052
  position: "relative",
5051
5053
  flexGrow: 1,
5052
5054
  justifyContent: "center",
@@ -8479,8 +8481,9 @@ function FullscreenModalAnimation(_ref) {
8479
8481
  children: /*#__PURE__*/jsxs(View
8480
8482
  // This is an ugly workaround to make the Modal calculate its height correctly on Android.
8481
8483
  // This ugly workaround is used in DialogModalAnimation and CardModalAnimation as well
8484
+ // TODO [expo@>=53]: Check if still needed
8482
8485
  , {
8483
- height: 1,
8486
+ height: Platform.OS === 'android' ? 1 : undefined,
8484
8487
  position: "relative",
8485
8488
  flexGrow: 1,
8486
8489
  justifyContent: "center",