@umituz/react-native-settings 4.20.21 → 4.20.23
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.20.
|
|
3
|
+
"version": "4.20.23",
|
|
4
4
|
"description": "Complete settings hub for React Native apps - consolidated package with settings, about, legal, appearance, feedback, FAQs, and rating",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -130,7 +130,7 @@ export const FAQScreen: React.FC<FAQScreenProps> = ({
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
return (
|
|
133
|
-
<ScreenLayout edges={['bottom']} scrollable={false}
|
|
133
|
+
<ScreenLayout edges={['bottom']} scrollable={false}>
|
|
134
134
|
<View style={[styles.container, customStyles?.container]}>
|
|
135
135
|
{renderContent()}
|
|
136
136
|
</View>
|
package/src/index.ts
CHANGED
|
@@ -130,6 +130,4 @@ export { OnboardingResetSetting } from '@umituz/react-native-onboarding';
|
|
|
130
130
|
export type { OnboardingResetSettingProps } from '@umituz/react-native-onboarding';
|
|
131
131
|
|
|
132
132
|
// @ts-ignore - Re-exporting from peer dependency
|
|
133
|
-
export { createSentryTestSetting } from '@umituz/react-native-sentry';
|
|
134
133
|
// @ts-ignore - Re-exporting from peer dependency
|
|
135
|
-
export type { SentryTestSettingProps } from '@umituz/react-native-sentry';
|
|
@@ -12,6 +12,7 @@ export interface ProfileSectionLoaderProps {
|
|
|
12
12
|
avatarUrl?: string;
|
|
13
13
|
accountSettingsRoute?: string;
|
|
14
14
|
onPress?: () => void;
|
|
15
|
+
benefits?: string[];
|
|
15
16
|
};
|
|
16
17
|
}
|
|
17
18
|
|
|
@@ -39,6 +40,7 @@ export const ProfileSectionLoader: React.FC<ProfileSectionLoaderProps> = ({ user
|
|
|
39
40
|
isAnonymous: userProfile.isAnonymous ?? true,
|
|
40
41
|
avatarUrl: userProfile.avatarUrl,
|
|
41
42
|
accountSettingsRoute: userProfile.accountSettingsRoute,
|
|
43
|
+
benefits: userProfile.benefits,
|
|
42
44
|
}}
|
|
43
45
|
onPress={handlePress}
|
|
44
46
|
onSignIn={userProfile.onPress}
|