mg-library 1.0.674 → 1.0.675

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.
Files changed (2) hide show
  1. package/functions.js +2 -2
  2. package/package.json +1 -1
package/functions.js CHANGED
@@ -12,12 +12,12 @@ import * as mgConstants from './constants.js';
12
12
 
13
13
  // Navigator
14
14
 
15
- export function navigatorHeader(insets, colors, onPressLogout, company) {
15
+ export function navigatorHeader(insets, onPressLogout, company) {
16
16
  let companyDescription = company.description;
17
17
  if (companyDescription.length > 25)
18
18
  companyDescription = companyDescription.substring(0, 25) + '...';
19
19
  return (
20
- <Box style={[safeAreaViewForNavigatorHeaderStyleSheet(insets).safeAreaView, { backgroundColor: colors.primary['500'], flexDirection: 'column', justifyContent: 'flex-end' }]}>
20
+ <Box style={[safeAreaViewForNavigatorHeaderStyleSheet(insets).safeAreaView, { backgroundColor: '$primary500', flexDirection: 'column', justifyContent: 'flex-end' }]}>
21
21
  <View style={{ flexDirection: 'row', flexGrow: 1 }}>
22
22
  <View style={{ flexGrow: 0.9, marginLeft: 10, alignSelf: 'center' }}>
23
23
  <MGText category='h5' style={{ color: 'white' }}>{companyDescription}</MGText>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mg-library",
3
- "version": "1.0.674",
3
+ "version": "1.0.675",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {