Fix return

This commit is contained in:
Sarah Jamie Lewis 2023-01-31 19:22:12 -08:00
parent 079b62e863
commit 1f0f798d5f
1 changed files with 1 additions and 2 deletions

View File

@ -95,8 +95,7 @@ class WidgetTesterAppDriverAdapter extends AppDriverAdapter<WidgetTester, Finder
.then((value) {
final image = decodePng(value);
final resized = copyResize(image!, width: 120);
final resizedByteData = encodePng(resized);
return resizedByteData!.buffer.asUint8List();
return encodePng(resized);
});
}