@umituz/react-native-settings 4.17.13 → 4.17.14

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.17.13",
3
+ "version": "4.17.14",
4
4
  "description": "Settings management for React Native apps - user preferences, theme, language, notifications",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -174,12 +174,8 @@ export const SettingsContent: React.FC<SettingsContentProps> = ({
174
174
  <AppearanceSection
175
175
  config={{
176
176
  ...normalizedConfig.appearance.config,
177
- title:
178
- normalizedConfig.appearance.config?.title ||
179
- t("settings.appearance.title"),
180
- description:
181
- normalizedConfig.appearance.config?.description ||
182
- t("settings.appearance.description"),
177
+ title: t("settings.appearance.title"),
178
+ description: t("settings.appearance.description"),
183
179
  }}
184
180
  sectionTitle={t("settings.appearance.title")}
185
181
  />
@@ -202,12 +198,8 @@ export const SettingsContent: React.FC<SettingsContentProps> = ({
202
198
  <NotificationsSection
203
199
  config={{
204
200
  ...normalizedConfig.notifications.config,
205
- title:
206
- normalizedConfig.notifications.config?.title ||
207
- t("settings.notifications.title"),
208
- description:
209
- normalizedConfig.notifications.config?.description ||
210
- t("settings.notifications.description"),
201
+ title: t("settings.notifications.title"),
202
+ description: t("settings.notifications.description"),
211
203
  }}
212
204
  />
213
205
  )}
@@ -216,12 +208,8 @@ export const SettingsContent: React.FC<SettingsContentProps> = ({
216
208
  <AboutSection
217
209
  config={{
218
210
  ...normalizedConfig.about.config,
219
- title:
220
- normalizedConfig.about.config?.title ||
221
- t("settings.about.title"),
222
- description:
223
- normalizedConfig.about.config?.description ||
224
- t("settings.about.description"),
211
+ title: t("settings.about.title"),
212
+ description: t("settings.about.description"),
225
213
  }}
226
214
  sectionTitle={t("settings.about.title")}
227
215
  />
@@ -231,12 +219,8 @@ export const SettingsContent: React.FC<SettingsContentProps> = ({
231
219
  <LegalSection
232
220
  config={{
233
221
  ...normalizedConfig.legal.config,
234
- title:
235
- normalizedConfig.legal.config?.title ||
236
- t("settings.legal.title"),
237
- description:
238
- normalizedConfig.legal.config?.description ||
239
- t("settings.legal.description"),
222
+ title: t("settings.legal.title"),
223
+ description: t("settings.legal.description"),
240
224
  }}
241
225
  sectionTitle={t("settings.legal.title")}
242
226
  />