@umituz/react-native-settings 4.16.8 → 4.16.11

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.16.8",
3
+ "version": "4.16.11",
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",
@@ -104,4 +104,4 @@
104
104
  "README.md",
105
105
  "LICENSE"
106
106
  ]
107
- }
107
+ }
@@ -43,7 +43,7 @@ export class SettingsErrorBoundary extends Component<Props, State> {
43
43
  }
44
44
 
45
45
  return (
46
- <ErrorBoundaryFallback
46
+ <ErrorBoundaryFallback
47
47
  error={this.state.error}
48
48
  fallbackTitle={this.props.fallbackTitle}
49
49
  fallbackMessage={this.props.fallbackMessage}
@@ -61,7 +61,7 @@ interface ErrorBoundaryFallbackProps {
61
61
  fallbackMessage?: string;
62
62
  }
63
63
 
64
- const ErrorBoundaryFallback: React.FC<ErrorBoundaryFallbackProps> = ({
64
+ const ErrorBoundaryFallback: React.FC<ErrorBoundaryFallbackProps> = ({
65
65
  error,
66
66
  fallbackTitle = "error_boundary.title",
67
67
  fallbackMessage = "error_boundary.message"
@@ -69,29 +69,29 @@ const ErrorBoundaryFallback: React.FC<ErrorBoundaryFallbackProps> = ({
69
69
  const tokens = useAppDesignTokens();
70
70
 
71
71
  const title = __DEV__ && error?.message ? "error_boundary.dev_title" : fallbackTitle;
72
- const message = __DEV__ && error?.message
73
- ? `error_boundary.dev_message: ${error.message}`
72
+ const message = __DEV__ && error?.message
73
+ ? `error_boundary.dev_message: ${error.message}`
74
74
  : fallbackMessage;
75
75
 
76
76
  return (
77
77
  <View style={[styles.container, { backgroundColor: tokens.colors.backgroundPrimary }]}>
78
78
  <View style={[styles.content, { backgroundColor: tokens.colors.surface }]}>
79
79
  <AtomicIcon
80
- name="alert-triangle"
80
+ name="alert-circle"
81
81
  color="warning"
82
82
  size="lg"
83
83
  style={styles.icon}
84
84
  />
85
- <AtomicText
86
- type="headlineSmall"
87
- color="primary"
85
+ <AtomicText
86
+ type="headlineSmall"
87
+ color="primary"
88
88
  style={styles.title}
89
89
  >
90
90
  {title}
91
91
  </AtomicText>
92
- <AtomicText
93
- type="bodyMedium"
94
- color="secondary"
92
+ <AtomicText
93
+ type="bodyMedium"
94
+ color="secondary"
95
95
  style={styles.message}
96
96
  >
97
97
  {message}