@umituz/react-native-settings 5.3.68 → 5.3.69
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.69",
|
|
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",
|
|
@@ -22,9 +22,6 @@ interface ThemeOptionProps {
|
|
|
22
22
|
onSelect: () => void;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
// Valid theme modes for validation
|
|
26
|
-
const VALID_THEME_MODES: readonly ThemeMode[] = ["light", "dark", "auto"];
|
|
27
|
-
|
|
28
25
|
// Utility function to add opacity to hex color
|
|
29
26
|
const addOpacityToHex = (hexColor: string, opacity: string): string => {
|
|
30
27
|
// Remove # if present
|
|
@@ -33,7 +30,7 @@ const addOpacityToHex = (hexColor: string, opacity: string): string => {
|
|
|
33
30
|
};
|
|
34
31
|
|
|
35
32
|
export const ThemeOption: React.FC<ThemeOptionProps> = React.memo(({
|
|
36
|
-
mode,
|
|
33
|
+
mode: _mode,
|
|
37
34
|
title,
|
|
38
35
|
subtitle,
|
|
39
36
|
description,
|