@umituz/react-native-settings 5.3.54 → 5.3.56

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": "5.3.54",
3
+ "version": "5.3.56",
4
4
  "description": "Complete settings hub for React Native apps - consolidated package with settings, localization, about, legal, appearance, feedback, FAQs, rating, and gamification",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./dist/index.d.ts",
@@ -51,7 +51,7 @@ export const AboutScreen: React.FC<AboutScreenProps> = (props) => {
51
51
 
52
52
  if (loading) {
53
53
  return (
54
- <ScreenLayout header={header} testID={testID}>
54
+ <ScreenLayout edges={['top', 'bottom', 'left', 'right']} header={header} testID={testID}>
55
55
  <AtomicSpinner fullContainer size="lg" />
56
56
  </ScreenLayout>
57
57
  );
@@ -60,7 +60,7 @@ export const AboutScreen: React.FC<AboutScreenProps> = (props) => {
60
60
  if (error || !appInfo) {
61
61
  const errorText = error ? `${config.texts?.errorPrefix || ""} ${error}` : (config.texts?.noInfo || "");
62
62
  return (
63
- <ScreenLayout header={header} testID={testID}>
63
+ <ScreenLayout edges={['top', 'bottom', 'left', 'right']} header={header} testID={testID}>
64
64
  <AtomicText type="bodyMedium" color="error" style={{ textAlign: 'center', marginTop: 20 }}>
65
65
  {errorText}
66
66
  </AtomicText>
@@ -69,7 +69,7 @@ export const AboutScreen: React.FC<AboutScreenProps> = (props) => {
69
69
  }
70
70
 
71
71
  return (
72
- <ScreenLayout header={header} testID={testID}>
72
+ <ScreenLayout edges={['top', 'bottom', 'left', 'right']} header={header} testID={testID}>
73
73
  <AboutScreenContent
74
74
  {...props}
75
75
  appInfo={appInfo}
@@ -153,7 +153,8 @@ export const AppearanceScreen: React.FC<AppearanceScreenProps> = ({
153
153
  ]);
154
154
 
155
155
  return (
156
- <ScreenLayout
156
+ <ScreenLayout
157
+ edges={['top', 'bottom', 'left', 'right']}
157
158
  hideScrollIndicator
158
159
  header={
159
160
  <NavigationHeader
@@ -48,7 +48,7 @@ export const DisclaimerScreen: React.FC<DisclaimerScreenProps> = ({
48
48
  return (
49
49
  <ScreenLayout
50
50
  scrollable={true}
51
- edges={['bottom']}
51
+ edges={['top', 'bottom', 'left', 'right']}
52
52
  contentContainerStyle={styles.scrollContent}
53
53
  hideScrollIndicator={false}
54
54
  header={
@@ -79,7 +79,7 @@ export const FAQScreen: React.FC<FAQScreenProps> = ({
79
79
 
80
80
  return (
81
81
  <ScreenLayout
82
- edges={['bottom']}
82
+ edges={['top', 'bottom', 'left', 'right']}
83
83
  scrollable={true}
84
84
  header={header}
85
85
  contentContainerStyle={customStyles?.content}
@@ -151,7 +151,7 @@ export const FeatureRequestScreen: React.FC<FeatureRequestScreenProps> = ({ conf
151
151
 
152
152
  if (isLoading) {
153
153
  return (
154
- <ScreenLayout header={header} edges={['top', 'bottom']}>
154
+ <ScreenLayout header={header} edges={['top', 'bottom', 'left', 'right']}>
155
155
  <View style={styles.loadingContainer}>
156
156
  <ActivityIndicator size="large" color={tokens.colors.primary} />
157
157
  </View>
@@ -51,6 +51,7 @@ export const LegalScreen: React.FC<LegalScreenProps> = React.memo((props) => {
51
51
  return (
52
52
  <ScreenLayout
53
53
  testID={testID}
54
+ edges={['top', 'bottom', 'left', 'right']}
54
55
  hideScrollIndicator
55
56
  header={
56
57
  <NavigationHeader