@widergy/mobile-ui 1.12.4 → 1.12.5

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.12.5](https://github.com/widergy/mobile-ui/compare/v1.12.4...v1.12.5) (2024-07-01)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fixes loading styles ([#309](https://github.com/widergy/mobile-ui/issues/309)) ([8240a0b](https://github.com/widergy/mobile-ui/commit/8240a0b4ddc4eaa4c94bfd2edadc53db833acd3c))
7
+
1
8
  ## [1.12.4](https://github.com/widergy/mobile-ui/compare/v1.12.3...v1.12.4) (2024-07-01)
2
9
 
3
10
 
@@ -30,7 +30,11 @@ const UTLoading = ({
30
30
  messageStyle={messageStyle}
31
31
  />
32
32
  )}
33
- {preventUnmount ? <View style={{ display: loading && 'none' }}>{children}</View> : !loading && children}
33
+ {preventUnmount ? (
34
+ <View style={{ display: loading ? 'none' : 'flex' }}>{children}</View>
35
+ ) : (
36
+ !loading && children
37
+ )}
34
38
  </Fragment>
35
39
  );
36
40
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@widergy/mobile-ui",
3
3
  "description": "Widergy Mobile Components",
4
4
  "author": "widergy",
5
- "version": "1.12.4",
5
+ "version": "1.12.5",
6
6
  "repository": "https://github.com/widergy/mobile-ui.git",
7
7
  "main": "lib/index.js",
8
8
  "files": [