@umituz/react-native-settings 4.17.9 → 4.17.11
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
|
@@ -242,40 +242,44 @@ export const SettingsContent: React.FC<SettingsContentProps> = ({
|
|
|
242
242
|
/>
|
|
243
243
|
)}
|
|
244
244
|
|
|
245
|
-
{(features.feedback || features.rating) && (
|
|
246
|
-
<
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
245
|
+
{(features.feedback || features.rating || features.faqs) && (
|
|
246
|
+
<SettingsSection title={t("settings.support.title") || "Support"}>
|
|
247
|
+
{(features.feedback || features.rating) && (
|
|
248
|
+
<SupportSection
|
|
249
|
+
renderSection={() => null}
|
|
250
|
+
renderItem={(props: any) => <SettingItem {...props} />}
|
|
251
|
+
feedbackConfig={{
|
|
252
|
+
enabled: features.feedback,
|
|
253
|
+
config: {
|
|
254
|
+
...normalizedConfig.feedback.config,
|
|
255
|
+
title: normalizedConfig.feedback.config?.title || t("settings.feedback.title") || "Feedback",
|
|
256
|
+
description: normalizedConfig.feedback.config?.description || t("settings.feedback.description") || "Send Feedback",
|
|
257
|
+
}
|
|
258
|
+
}}
|
|
259
|
+
ratingConfig={{
|
|
260
|
+
enabled: features.rating,
|
|
261
|
+
config: {
|
|
262
|
+
...normalizedConfig.rating.config,
|
|
263
|
+
title: normalizedConfig.rating.config?.title || t("settings.rating.title") || "Rate Us",
|
|
264
|
+
description: normalizedConfig.rating.config?.description || t("settings.rating.description") || "Rate Us",
|
|
265
|
+
}
|
|
266
|
+
}}
|
|
267
|
+
/>
|
|
268
|
+
)}
|
|
267
269
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
270
|
+
{features.faqs && FAQSection && (
|
|
271
|
+
<FAQSection
|
|
272
|
+
renderSection={() => null}
|
|
273
|
+
renderItem={(props: any) => <SettingItem {...props} />}
|
|
274
|
+
config={{
|
|
275
|
+
enabled: features.faqs,
|
|
276
|
+
...normalizedConfig.faqs.config,
|
|
277
|
+
title: normalizedConfig.faqs.config?.title || t("settings.faqs.title") || "FAQs",
|
|
278
|
+
description: normalizedConfig.faqs.config?.description || t("settings.faqs.description") || "FAQs",
|
|
279
|
+
}}
|
|
280
|
+
/>
|
|
281
|
+
)}
|
|
282
|
+
</SettingsSection>
|
|
279
283
|
)}
|
|
280
284
|
|
|
281
285
|
{features.disclaimer && DisclaimerSetting && (
|