Unverified Commit 1b819a04 authored by fzyzcjy's avatar fzyzcjy Committed by GitHub

Correct the unit of file size from "kb" (maybe "kilo bits") to "KB" (#76033)

parent 4d78435a
...@@ -502,7 +502,7 @@ void paintImage({ ...@@ -502,7 +502,7 @@ void paintImage({
exception: 'Image $debugImageLabel has a display size of ' exception: 'Image $debugImageLabel has a display size of '
'$outputWidth×$outputHeight but a decode size of ' '$outputWidth×$outputHeight but a decode size of '
'${image.width}×${image.height}, which uses an additional ' '${image.width}×${image.height}, which uses an additional '
'${overheadInKilobytes}kb.\n\n' '${overheadInKilobytes}KB.\n\n'
'Consider resizing the asset ahead of time, supplying a cacheWidth ' 'Consider resizing the asset ahead of time, supplying a cacheWidth '
'parameter of $outputWidth, a cacheHeight parameter of ' 'parameter of $outputWidth, a cacheHeight parameter of '
'$outputHeight, or using a ResizeImage.', '$outputHeight, or using a ResizeImage.',
......
...@@ -101,7 +101,7 @@ void main() { ...@@ -101,7 +101,7 @@ void main() {
expect( expect(
messages.single, messages.single,
'Image TestImage has a display size of 200×100 but a decode size of 300×300, which uses an additional 364kb.\n\n' 'Image TestImage has a display size of 200×100 but a decode size of 300×300, which uses an additional 364KB.\n\n'
'Consider resizing the asset ahead of time, supplying a cacheWidth parameter of 200, a cacheHeight parameter of 100, or using a ResizeImage.', 'Consider resizing the asset ahead of time, supplying a cacheWidth parameter of 200, a cacheHeight parameter of 100, or using a ResizeImage.',
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment