react-crud-mobile 1.3.16 → 1.3.17

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.16",
2
+ "version": "1.3.17",
3
3
  "license": "MIT",
4
4
  "description": "Uma biblioteca de componentes para React Native",
5
5
  "main": "dist/index.js",
@@ -34,6 +34,7 @@ export default function UISelect(props: ChildType) {
34
34
  main.data.selectIsOpen = _modalVisible;
35
35
  setModalVisible(_modalVisible);
36
36
  };
37
+ const iconColor = Utils.nvl(theme.colors?.text, '#100e0e');
37
38
 
38
39
  const onClick = ({ crud, value }: MethodType) => {
39
40
  let val = value as any;
@@ -64,9 +65,9 @@ export default function UISelect(props: ChildType) {
64
65
  {Utils.nvl(value, placeholder)}
65
66
  </Text>
66
67
  <Ionicons
67
- name="chevron-back-outline"
68
+ name="chevron-down-outline"
68
69
  size={24}
69
- color={scope.getPart('iconColor', null, 'white')}
70
+ color={scope.getPart('iconColor', null, iconColor)}
70
71
  style={style('modalCloseText', {})}
71
72
  />
72
73
  </TouchableOpacity>
@@ -124,7 +125,7 @@ const styles = StyleSheet.create({
124
125
  flexDirection: 'row',
125
126
  alignItems: 'center',
126
127
  padding: 15,
127
- backgroundColor: '#6200ea',
128
+ backgroundColor: 'theme',
128
129
  },
129
130
  modalCloseButton: {
130
131
  padding: 10,