@umituz/react-native-settings 4.17.5 → 4.17.7

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.5",
3
+ "version": "4.17.7",
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",
@@ -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.guestName") || "Guest",
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") || "Sign In"}
160
- anonymousText={t("settings.profile.anonymousName") || "Guest"}
159
+ signInText={t("auth.signIn")}
160
+ anonymousText={t("settings.profile.anonymousName")}
161
161
  />
162
162
  </View>
163
163
  )}