@umituz/react-native-settings 5.3.74 → 5.3.75
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": "5.3.
|
|
3
|
+
"version": "5.3.75",
|
|
4
4
|
"description": "Complete settings hub for React Native apps - consolidated package with settings, localization, about, legal, appearance, feedback, FAQs, rating, and gamification - expo-store-review and expo-device now lazy loaded",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -31,6 +31,9 @@ interface LanguageItemProps {
|
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
// SVG path for checkmark icon (works without external icon library)
|
|
35
|
+
const CHECKMARK_PATH = "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z";
|
|
36
|
+
|
|
34
37
|
export const LanguageItem: React.FC<LanguageItemProps> = ({
|
|
35
38
|
item,
|
|
36
39
|
isSelected,
|
|
@@ -113,7 +116,11 @@ export const LanguageItem: React.FC<LanguageItemProps> = ({
|
|
|
113
116
|
</View>
|
|
114
117
|
</View>
|
|
115
118
|
{isSelected && (
|
|
116
|
-
<AtomicIcon
|
|
119
|
+
<AtomicIcon
|
|
120
|
+
svgPath={CHECKMARK_PATH}
|
|
121
|
+
customSize={24}
|
|
122
|
+
customColor={tokens.colors.primary}
|
|
123
|
+
/>
|
|
117
124
|
)}
|
|
118
125
|
</TouchableOpacity>
|
|
119
126
|
);
|