@momo-kits/foundation 0.81.37 → 0.81.38

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.
@@ -31,7 +31,7 @@ const NavigationContainer: React.FC<NavigationContainerProps> = ({
31
31
  const [language, setLanguage] = useState<'vi' | 'en'>('vi');
32
32
  const [config, setConfig] = useState<any>(undefined);
33
33
  let assets = theme.assets;
34
- if (config) {
34
+ if (config && theme.assets?.headerBackground) {
35
35
  assets = {...assets, headerBackground: config.navigationBar?.headerBar};
36
36
  }
37
37
 
package/Image/index.tsx CHANGED
@@ -55,6 +55,9 @@ const Image: React.FC<ImageProps> = ({
55
55
  onLoadStart={() => {
56
56
  error.current = false;
57
57
  }}
58
+ onLoad={() => {
59
+ error.current = false;
60
+ }}
58
61
  onLoadEnd={() => {
59
62
  let current: Status = 'success';
60
63
  if (error.current) {
package/Input/styles.ts CHANGED
@@ -7,7 +7,6 @@ export default StyleSheet.create({
7
7
  input: {
8
8
  flex: 1,
9
9
  paddingLeft: Spacing.M,
10
- height: '100%',
11
10
  fontSize: scaleSize(15),
12
11
  },
13
12
  wrapper: {
package/Layout/Screen.tsx CHANGED
@@ -311,7 +311,6 @@ const Screen = forwardRef(
311
311
  uri: headerBackground,
312
312
  }}
313
313
  style={styles.extendedHeader}
314
- loading={false}
315
314
  />
316
315
  <View style={{height: heightHeader}} />
317
316
  </>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/foundation",
3
- "version": "0.81.37",
3
+ "version": "0.81.38",
4
4
  "description": "React Native Component Kits",
5
5
  "main": "index.ts",
6
6
  "scripts": {