diff --git a/Libraries/LogBox/Data/LogBoxData.js b/Libraries/LogBox/Data/LogBoxData.js
index 83e64356fac..1076d26661f 100644
--- a/Libraries/LogBox/Data/LogBoxData.js
+++ b/Libraries/LogBox/Data/LogBoxData.js
@@ -60,6 +60,7 @@ export type WarningFilter = (format: string) => WarningInfo;
type AppInfo = $ReadOnly<{|
appVersion: string,
engine: string,
+ onPress?: ?() => void,
|}>;
const observers: Set<{observer: Observer, ...}> = new Set();
diff --git a/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.js b/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.js
index b9e8f483c1d..2c4e1036a17 100644
--- a/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.js
+++ b/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.js
@@ -87,9 +87,19 @@ function AppInfo() {
}
return (
-
- {appInfo.appVersion} ({appInfo.engine})
-
+
+
+ {appInfo.appVersion} ({appInfo.engine})
+
+
);
}
@@ -98,8 +108,14 @@ const appInfoStyles = StyleSheet.create({
color: LogBoxStyle.getTextColor(0.4),
fontSize: 12,
lineHeight: 12,
+ },
+ buildButton: {
flex: 0,
flexGrow: 0,
+ paddingVertical: 4,
+ paddingHorizontal: 5,
+ borderRadius: 5,
+ marginRight: -8,
},
});