mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-18 16:56:32 +00:00
Remove writing speed from finish screen
Changelog-entry: Remove writing speed from finish screen Change-type: patch
This commit is contained in:
parent
9c25cc663a
commit
a4366556c0
@ -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,34 +85,22 @@ export function FlashResults({
|
|||||||
</Underline>
|
</Underline>
|
||||||
) : null;
|
) : null;
|
||||||
})}
|
})}
|
||||||
<Txt
|
{!allDevicesFailed && (
|
||||||
color="#787c7f"
|
<Txt
|
||||||
fontSize="10px"
|
color="#787c7f"
|
||||||
style={{
|
fontSize="10px"
|
||||||
fontWeight: 500,
|
style={{
|
||||||
textAlign: 'center',
|
fontWeight: 500,
|
||||||
}}
|
textAlign: 'center',
|
||||||
>
|
}}
|
||||||
Writing speed: {averageSpeed} MB/s
|
tooltip={outdent({ newline: ' ' })`
|
||||||
</Txt>
|
|
||||||
{!allDevicesFailed &&
|
|
||||||
results.sourceMetadata.blockmappedSize <
|
|
||||||
results.sourceMetadata.size && (
|
|
||||||
<Txt
|
|
||||||
color="#787c7f"
|
|
||||||
fontSize="10px"
|
|
||||||
style={{
|
|
||||||
fontWeight: 500,
|
|
||||||
textAlign: 'center',
|
|
||||||
}}
|
|
||||||
tooltip={outdent({ newline: ' ' })`
|
|
||||||
The speed is calculated by dividing the image size by the flashing time.
|
The speed is calculated by dividing the image size by the flashing time.
|
||||||
Disk images with ext partitions flash faster as we are able to skip unused parts.
|
Disk images with ext partitions flash faster as we are able to skip unused parts.
|
||||||
`}
|
`}
|
||||||
>
|
>
|
||||||
Effective speed: {effectiveSpeed} MB/s
|
Effective speed: {effectiveSpeed} MB/s
|
||||||
</Txt>
|
</Txt>
|
||||||
)}
|
)}
|
||||||
</Div>
|
</Div>
|
||||||
</Div>
|
</Div>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user