Fix type mismatch while taking a screenshot using the resident runner. (#20555)

This commit is contained in:
Chinmay Garde
2018-08-15 17:27:57 -07:00
committed by GitHub
parent ede7c15a2f
commit f62e6d9e43

View File

@@ -376,7 +376,9 @@ class IOSDevice extends Device {
bool get supportsScreenshot => iMobileDevice.isInstalled;
@override
Future<Null> takeScreenshot(File outputFile) => iMobileDevice.takeScreenshot(outputFile);
Future<Null> takeScreenshot(File outputFile) async {
await iMobileDevice.takeScreenshot(outputFile);
}
}
/// Decodes an encoded syslog string to a UTF-8 representation.