@umituz/react-native-settings 4.17.23 → 4.17.24

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-settings",
3
- "version": "4.17.23",
3
+ "version": "4.17.24",
4
4
  "description": "Complete settings hub for React Native apps - consolidated package with settings, about, legal, appearance, feedback, FAQs, and rating",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -89,7 +89,7 @@ export const AboutSection: React.FC<AboutSectionProps> = ({
89
89
  </AtomicText>
90
90
  )}
91
91
  </View>
92
- <AtomicIcon name="chevron-right" size="md" color="secondary" />
92
+ <AtomicIcon name="chevron-forward" size="md" color="secondary" />
93
93
  </View>
94
94
  </Pressable>
95
95
  </View>
@@ -67,20 +67,12 @@ jest.mock('@umituz/react-native-storage', () => ({
67
67
  success: true,
68
68
  })),
69
69
  },
70
- unwrap: jest.fn((result, defaultValue) =>
70
+ unwrap: jest.fn((result, defaultValue) =>
71
71
  result.success ? result.data : defaultValue
72
72
  ),
73
73
  }));
74
74
 
75
- // Mock alert
76
- jest.mock('@umituz/react-native-alert', () => ({
77
- useAlert: jest.fn(() => ({
78
- show: jest.fn(),
79
- showSuccess: jest.fn(),
80
- showError: jest.fn(),
81
- showWarning: jest.fn(),
82
- })),
83
- }));
75
+
84
76
 
85
77
  // Mock localization
86
78
  jest.mock('@umituz/react-native-localization', () => ({
@@ -89,7 +89,7 @@ export const LegalSection: React.FC<LegalSectionProps> = ({
89
89
  </AtomicText>
90
90
  )}
91
91
  </View>
92
- <AtomicIcon name="chevron-right" size="md" color="secondary" />
92
+ <AtomicIcon name="chevron-forward" size="md" color="secondary" />
93
93
  </View>
94
94
  </Pressable>
95
95
  </View>