@umituz/react-native-settings 1.8.2 → 1.9.0

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": "1.8.2",
3
+ "version": "1.9.0",
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",
@@ -98,6 +98,7 @@ const styles = StyleSheet.create({
98
98
  paddingVertical: 16,
99
99
  marginHorizontal: 16,
100
100
  marginTop: 0,
101
+ marginBottom: 0,
101
102
  borderRadius: 12,
102
103
  borderWidth: 1,
103
104
  },
@@ -86,14 +86,17 @@ export const SettingsScreen: React.FC<SettingsScreenProps> = ({
86
86
  showsVerticalScrollIndicator={false}
87
87
  >
88
88
  {showUserProfile && (
89
- <UserProfileHeader
90
- displayName={userProfile?.displayName}
91
- userId={userProfile?.userId}
92
- isGuest={userProfile?.isGuest}
93
- avatarUrl={userProfile?.avatarUrl}
94
- accountSettingsRoute={userProfile?.accountSettingsRoute}
95
- onPress={userProfile?.onPress}
96
- />
89
+ <>
90
+ <UserProfileHeader
91
+ displayName={userProfile?.displayName}
92
+ userId={userProfile?.userId}
93
+ isGuest={userProfile?.isGuest}
94
+ avatarUrl={userProfile?.avatarUrl}
95
+ accountSettingsRoute={userProfile?.accountSettingsRoute}
96
+ onPress={userProfile?.onPress}
97
+ />
98
+ <View style={{ height: 24 }} />
99
+ </>
97
100
  )}
98
101
 
99
102
  {features.appearance && (