@ornikar/kitt-universal 29.3.1 → 29.3.2

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.
@@ -4292,7 +4292,12 @@ function CardModalAnimation({
4292
4292
  onDismiss: () => {
4293
4293
  if (onExited) onExited();
4294
4294
  },
4295
- children: /*#__PURE__*/jsxs(View, {
4295
+ children: /*#__PURE__*/jsxs(View
4296
+ // This is an ugly workaround to make the Modal calculate its height correctly on Android.
4297
+ // This ugly workaround is used in FullScreenModalAnimation and DialogModalAnimation as well
4298
+ // TODO [expo@>=53]: Check if still needed
4299
+ , {
4300
+ height: Platform.OS === 'android' ? 1 : undefined,
4296
4301
  position: "relative",
4297
4302
  flexGrow: 1,
4298
4303
  justifyContent: "center",
@@ -5001,7 +5006,12 @@ function DialogModalAnimation({
5001
5006
  onDismiss: () => {
5002
5007
  if (onExited) onExited();
5003
5008
  },
5004
- children: /*#__PURE__*/jsxs(View, {
5009
+ children: /*#__PURE__*/jsxs(View
5010
+ // This is an ugly workaround to make the Modal calculate its height correctly on Android.
5011
+ // This ugly workaround is used in FullScreenModalAnimation and CardModalAnimation as well
5012
+ // TODO [expo@>=53]: Check if still needed
5013
+ , {
5014
+ height: Platform.OS === 'android' ? 1 : undefined,
5005
5015
  position: "relative",
5006
5016
  flexGrow: 1,
5007
5017
  justifyContent: "center",
@@ -8228,7 +8238,12 @@ function FullscreenModalAnimation({
8228
8238
  onDismiss: () => {
8229
8239
  if (onExited) onExited();
8230
8240
  },
8231
- children: /*#__PURE__*/jsxs(View, {
8241
+ children: /*#__PURE__*/jsxs(View
8242
+ // This is an ugly workaround to make the Modal calculate its height correctly on Android.
8243
+ // This ugly workaround is used in DialogModalAnimation and CardModalAnimation as well
8244
+ // TODO [expo@>=53]: Check if still needed
8245
+ , {
8246
+ height: Platform.OS === 'android' ? 1 : undefined,
8232
8247
  position: "relative",
8233
8248
  flexGrow: 1,
8234
8249
  justifyContent: "center",