Remove writing speed from finish screen

Changelog-entry: Remove writing speed from finish screen
Change-type: patch
This commit is contained in:
Alexis Svinartchouk 2020-06-02 17:10:04 +02:00
parent 9c25cc663a
commit a4366556c0

View File

@ -48,10 +48,6 @@ export function FlashResults({
}; };
}) { }) {
const allDevicesFailed = results.devices.successful === 0; const allDevicesFailed = results.devices.successful === 0;
const averageSpeed = _.round(
bytesToMegabytes(results.averageFlashingSpeed),
1,
);
const effectiveSpeed = _.round( const effectiveSpeed = _.round(
bytesToMegabytes( bytesToMegabytes(
results.sourceMetadata.size / results.sourceMetadata.size /
@ -89,19 +85,7 @@ export function FlashResults({
</Underline> </Underline>
) : null; ) : null;
})} })}
<Txt {!allDevicesFailed && (
color="#787c7f"
fontSize="10px"
style={{
fontWeight: 500,
textAlign: 'center',
}}
>
Writing speed: {averageSpeed} MB/s
</Txt>
{!allDevicesFailed &&
results.sourceMetadata.blockmappedSize <
results.sourceMetadata.size && (
<Txt <Txt
color="#787c7f" color="#787c7f"
fontSize="10px" fontSize="10px"