react-native-in-app-debugger 1.0.18 → 1.0.20
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/index.jsx +4 -7
- package/package.json +1 -1
package/index.jsx
CHANGED
|
@@ -8,9 +8,6 @@ import {
|
|
|
8
8
|
SafeAreaView,
|
|
9
9
|
Dimensions,
|
|
10
10
|
} from "react-native";
|
|
11
|
-
// const DeviceInfo = React.lazy(() =>
|
|
12
|
-
// import("react-native-device-info").catch(() => ({ default: null }))
|
|
13
|
-
// );
|
|
14
11
|
|
|
15
12
|
let DeviceInfo;
|
|
16
13
|
try {
|
|
@@ -94,14 +91,14 @@ export default ({
|
|
|
94
91
|
<View style={styles.badgeContainer}>
|
|
95
92
|
{!!numPendingApiCalls && (
|
|
96
93
|
<View style={[styles.badge, { backgroundColor: "orange" }]}>
|
|
97
|
-
<Text style={{ fontSize:
|
|
94
|
+
<Text style={{ fontSize: 6, color: "white" }}>
|
|
98
95
|
{numPendingApiCalls}
|
|
99
96
|
</Text>
|
|
100
97
|
</View>
|
|
101
98
|
)}
|
|
102
99
|
{!!errors && (
|
|
103
100
|
<View style={[styles.badge, { backgroundColor: "red" }]}>
|
|
104
|
-
<Text style={{ fontSize:
|
|
101
|
+
<Text style={{ fontSize: 6, color: "white" }}>{errors}</Text>
|
|
105
102
|
</View>
|
|
106
103
|
)}
|
|
107
104
|
</View>
|
|
@@ -179,13 +176,13 @@ const styles = StyleSheet.create({
|
|
|
179
176
|
badgeContainer: {
|
|
180
177
|
gap: 3,
|
|
181
178
|
flexDirection: "row",
|
|
182
|
-
top: -
|
|
179
|
+
top: -10,
|
|
183
180
|
right: -3,
|
|
184
181
|
position: "absolute",
|
|
185
182
|
zIndex: 999,
|
|
186
183
|
},
|
|
187
184
|
badge: {
|
|
188
|
-
padding:
|
|
185
|
+
padding: 3,
|
|
189
186
|
borderRadius: 999,
|
|
190
187
|
},
|
|
191
188
|
close: {
|