Support React Native buttons
Summary: Added the Metro buttons to AppInspect Reviewed By: cekkaewnumchai Differential Revision: D24544760 fbshipit-source-id: 1eb6face14a7950d654c95b1a8fca31b8efed99b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
82604020ab
commit
b8f68a4026
@@ -73,9 +73,7 @@ export default function ScreenCaptureButtons({useSandy}: {useSandy?: boolean}) {
|
||||
} else {
|
||||
selectedDevice
|
||||
.stopScreenCapture()
|
||||
.then((path) => {
|
||||
path && openFile(path);
|
||||
})
|
||||
.then(openFile)
|
||||
.catch((e) => {
|
||||
console.error('Failed to start recording', e);
|
||||
message.error('Failed to start recording' + e);
|
||||
|
||||
Reference in New Issue
Block a user