@umituz/react-native-settings 4.23.105 → 4.23.107

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.23.105",
3
+ "version": "4.23.107",
4
4
  "description": "Complete settings hub for React Native apps - consolidated package with settings, localization, about, legal, appearance, feedback, FAQs, rating, and gamification",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -36,9 +36,9 @@ export const StatsGrid: React.FC<StatsGridProps> = ({
36
36
  {statsTitle}
37
37
  </AtomicText>
38
38
  <View style={styles.statsGrid}>
39
- {stats.map((stat, index) => (
39
+ {stats.map((stat) => (
40
40
  <StatsCard
41
- key={index}
41
+ key={`${stat.label}-${stat.value}`}
42
42
  {...stat}
43
43
  accentColor={accentColor}
44
44
  backgroundColor={cardBackgroundColor}
@@ -44,7 +44,7 @@ export const StarRating: React.FC<StarRatingProps> = ({
44
44
  <View style={[styles.container, style]}>
45
45
  {Array.from({ length: maxRating }).map((_, index) => (
46
46
  <TouchableOpacity
47
- key={index}
47
+ key={`star-${index}`}
48
48
  onPress={() => handlePress(index)}
49
49
  disabled={disabled}
50
50
  activeOpacity={0.7}
package/src/index.ts CHANGED
@@ -91,8 +91,6 @@ export type { SettingsSectionProps } from './presentation/components/SettingsSec
91
91
  export { SettingsFooter } from './presentation/components/SettingsFooter';
92
92
  export type { SettingsFooterProps } from './presentation/components/SettingsFooter';
93
93
 
94
-
95
-
96
94
  // =============================================================================
97
95
  // DOMAIN EXPORTS - Consolidated Features
98
96
  // =============================================================================