@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 +1 -1
- package/src/domains/about/presentation/screens/AboutScreen.tsx +3 -3
- package/src/domains/appearance/presentation/screens/AppearanceScreen.tsx +2 -1
- package/src/domains/disclaimer/presentation/screens/DisclaimerScreen.tsx +1 -1
- package/src/domains/faqs/presentation/screens/FAQScreen.tsx +1 -1
- package/src/domains/feedback/presentation/screens/FeatureRequestScreen.tsx +1 -1
- package/src/domains/legal/presentation/screens/LegalScreen.tsx +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umituz/react-native-settings",
|
|
3
|
-
"version": "5.3.
|
|
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}
|
|
@@ -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={
|
|
@@ -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>
|