react-native-in-app-debugger 1.0.28 → 1.0.30
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/Api.jsx +4 -4
- package/Text.jsx +4 -0
- package/Variables.jsx +2 -1
- package/index.jsx +6 -3
- package/package.json +1 -1
package/Api.jsx
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React, { useState } from "react";
|
|
2
2
|
import {
|
|
3
|
-
Text,
|
|
4
3
|
SectionList,
|
|
5
4
|
TextInput,
|
|
6
5
|
View,
|
|
@@ -8,7 +7,7 @@ import {
|
|
|
8
7
|
StyleSheet,
|
|
9
8
|
TouchableOpacity,
|
|
10
9
|
} from "react-native";
|
|
11
|
-
|
|
10
|
+
import Text from "./Text";
|
|
12
11
|
let Clipboard;
|
|
13
12
|
try {
|
|
14
13
|
Clipboard = require("@react-native-clipboard/clipboard")?.default;
|
|
@@ -130,7 +129,8 @@ export default (props) => {
|
|
|
130
129
|
textDecorationLine: errorOnly ? "line-through" : undefined,
|
|
131
130
|
}}
|
|
132
131
|
>
|
|
133
|
-
{apis.filter(isError).length} error
|
|
132
|
+
{apis.filter(isError).length} error
|
|
133
|
+
{apis.filter(isError).length > 1 ? "s" : ""}
|
|
134
134
|
</Text>
|
|
135
135
|
</TouchableOpacity>
|
|
136
136
|
)}
|
|
@@ -262,7 +262,7 @@ const styles = StyleSheet.create({
|
|
|
262
262
|
gap: 5,
|
|
263
263
|
backgroundColor: "black",
|
|
264
264
|
padding: 5,
|
|
265
|
-
paddingTop:
|
|
265
|
+
paddingTop: 10,
|
|
266
266
|
shadowColor: "black",
|
|
267
267
|
shadowOffset: {
|
|
268
268
|
width: 0,
|
package/Text.jsx
ADDED
package/Variables.jsx
CHANGED
package/index.jsx
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import React, { useState } from "react";
|
|
2
2
|
import {
|
|
3
3
|
Animated,
|
|
4
|
-
Text,
|
|
5
4
|
StyleSheet,
|
|
6
5
|
TouchableOpacity,
|
|
7
6
|
View,
|
|
8
7
|
SafeAreaView,
|
|
9
8
|
Dimensions,
|
|
10
9
|
} from "react-native";
|
|
11
|
-
|
|
10
|
+
import Text from "./Text";
|
|
12
11
|
let DeviceInfo;
|
|
13
12
|
try {
|
|
14
13
|
DeviceInfo = require("react-native-device-info");
|
|
@@ -87,7 +86,11 @@ export default ({
|
|
|
87
86
|
{...(isOpen ? {} : panResponder.panHandlers)}
|
|
88
87
|
>
|
|
89
88
|
{!isOpen ? (
|
|
90
|
-
<TouchableOpacity
|
|
89
|
+
<TouchableOpacity
|
|
90
|
+
onPress={() => setIsOpen(true)}
|
|
91
|
+
style={styles.box}
|
|
92
|
+
activeOpacity={0.8}
|
|
93
|
+
>
|
|
91
94
|
<View style={styles.badgeContainer}>
|
|
92
95
|
{!!numPendingApiCalls && (
|
|
93
96
|
<View style={[styles.badge, { backgroundColor: "orange" }]}>
|