Restore open behavior on screenshot capture
Summary: The effect of opening the screenshot after capturing was removed in D19765926. Reviewed By: mweststrate Differential Revision: D21571294 fbshipit-source-id: f3308d80e066cc01786c17323e4ff5f97c092de9
This commit is contained in:
committed by
Facebook GitHub Bot
parent
7492e781d3
commit
d6844faebb
@@ -73,7 +73,7 @@ class ScreenCaptureButtons extends Component<Props, State> {
|
||||
captureScreenshot: Promise<void> | any = async () => {
|
||||
const {selectedDevice} = this.props;
|
||||
if (selectedDevice != null) {
|
||||
await capture(selectedDevice);
|
||||
await capture(selectedDevice).then(openFile);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user