@umituz/react-native-settings 4.17.6 → 4.17.8
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
|
@@ -148,7 +148,7 @@ export const SettingsContent: React.FC<SettingsContentProps> = ({
|
|
|
148
148
|
<View style={styles.profileContainer}>
|
|
149
149
|
<ProfileSection
|
|
150
150
|
profile={{
|
|
151
|
-
displayName: userProfile?.displayName || t("settings.profile.anonymousName")
|
|
151
|
+
displayName: userProfile?.displayName || t("settings.profile.anonymousName"),
|
|
152
152
|
userId: userProfile?.userId,
|
|
153
153
|
isAnonymous: userProfile?.isAnonymous ?? true,
|
|
154
154
|
avatarUrl: userProfile?.avatarUrl,
|
|
@@ -156,8 +156,8 @@ export const SettingsContent: React.FC<SettingsContentProps> = ({
|
|
|
156
156
|
}}
|
|
157
157
|
onPress={userProfile?.onPress}
|
|
158
158
|
onSignIn={userProfile?.onPress}
|
|
159
|
-
signInText={t("auth.signIn")
|
|
160
|
-
anonymousText={t("settings.profile.anonymousName")
|
|
159
|
+
signInText={t("auth.signIn")}
|
|
160
|
+
anonymousText={t("settings.profile.anonymousName")}
|
|
161
161
|
/>
|
|
162
162
|
</View>
|
|
163
163
|
)}
|
|
@@ -27,6 +27,10 @@ export interface AppearanceConfig {
|
|
|
27
27
|
title?: string;
|
|
28
28
|
/** Custom appearance description */
|
|
29
29
|
description?: string;
|
|
30
|
+
/** Custom icon name (Ionicons) */
|
|
31
|
+
icon?: string;
|
|
32
|
+
/** Custom section title for grouping */
|
|
33
|
+
sectionTitle?: string;
|
|
30
34
|
/** Default route name when no custom route provided */
|
|
31
35
|
defaultRoute?: string;
|
|
32
36
|
}
|
|
@@ -43,6 +47,10 @@ export interface LanguageConfig {
|
|
|
43
47
|
title?: string;
|
|
44
48
|
/** Custom language description */
|
|
45
49
|
description?: string;
|
|
50
|
+
/** Custom icon name (Ionicons) */
|
|
51
|
+
icon?: string;
|
|
52
|
+
/** Custom section title for grouping */
|
|
53
|
+
sectionTitle?: string;
|
|
46
54
|
/** Default language display when no language is detected */
|
|
47
55
|
defaultLanguageDisplay?: string;
|
|
48
56
|
}
|
|
@@ -65,6 +73,10 @@ export interface NotificationsConfig {
|
|
|
65
73
|
title?: string;
|
|
66
74
|
/** Custom notifications description */
|
|
67
75
|
description?: string;
|
|
76
|
+
/** Custom icon name (Ionicons) */
|
|
77
|
+
icon?: string;
|
|
78
|
+
/** Custom section title for grouping */
|
|
79
|
+
sectionTitle?: string;
|
|
68
80
|
/** Default route name when no custom route provided */
|
|
69
81
|
defaultRoute?: string;
|
|
70
82
|
}
|
|
@@ -81,6 +93,10 @@ export interface AboutConfig {
|
|
|
81
93
|
title?: string;
|
|
82
94
|
/** Custom about description */
|
|
83
95
|
description?: string;
|
|
96
|
+
/** Custom icon name (Ionicons) */
|
|
97
|
+
icon?: string;
|
|
98
|
+
/** Custom section title for grouping */
|
|
99
|
+
sectionTitle?: string;
|
|
84
100
|
/** Default route name when no custom route provided */
|
|
85
101
|
defaultRoute?: string;
|
|
86
102
|
}
|
|
@@ -97,6 +113,10 @@ export interface LegalConfig {
|
|
|
97
113
|
title?: string;
|
|
98
114
|
/** Custom legal description */
|
|
99
115
|
description?: string;
|
|
116
|
+
/** Custom icon name (Ionicons) */
|
|
117
|
+
icon?: string;
|
|
118
|
+
/** Custom section title for grouping */
|
|
119
|
+
sectionTitle?: string;
|
|
100
120
|
/** Default route name when no custom route provided */
|
|
101
121
|
defaultRoute?: string;
|
|
102
122
|
}
|
|
@@ -136,6 +156,14 @@ export interface UserProfileConfig {
|
|
|
136
156
|
export interface SubscriptionConfig {
|
|
137
157
|
/** Show subscription section */
|
|
138
158
|
enabled?: FeatureVisibility;
|
|
159
|
+
/** Custom subscription title */
|
|
160
|
+
title?: string;
|
|
161
|
+
/** Custom subscription description */
|
|
162
|
+
description?: string;
|
|
163
|
+
/** Custom icon name (Ionicons) */
|
|
164
|
+
icon?: string;
|
|
165
|
+
/** Custom section title for grouping */
|
|
166
|
+
sectionTitle?: string;
|
|
139
167
|
/** Section configuration (app provides all data) */
|
|
140
168
|
sectionConfig?: {
|
|
141
169
|
statusType: "active" | "expired" | "none";
|
|
@@ -181,6 +209,10 @@ export interface FeedbackConfig {
|
|
|
181
209
|
title?: string;
|
|
182
210
|
/** Custom label for the feedback item */
|
|
183
211
|
description?: string;
|
|
212
|
+
/** Custom icon name (Ionicons) */
|
|
213
|
+
icon?: string;
|
|
214
|
+
/** Custom section title for grouping */
|
|
215
|
+
sectionTitle?: string;
|
|
184
216
|
/** Initial feedback type */
|
|
185
217
|
initialType?: FeedbackType;
|
|
186
218
|
/** Feedback submission handler */
|
|
@@ -194,6 +226,10 @@ export interface FAQConfig {
|
|
|
194
226
|
title?: string;
|
|
195
227
|
/** Custom label for the FAQ button */
|
|
196
228
|
description?: string;
|
|
229
|
+
/** Custom icon name (Ionicons) */
|
|
230
|
+
icon?: string;
|
|
231
|
+
/** Custom section title for grouping */
|
|
232
|
+
sectionTitle?: string;
|
|
197
233
|
/** FAQ items passed from app */
|
|
198
234
|
items?: any[];
|
|
199
235
|
/** Handler to open FAQ screen */
|