This commit is contained in:
Thibault Deckers 2023-12-13 22:38:26 +01:00
parent 3bd5586345
commit 14579932ae
11 changed files with 3 additions and 1 deletions

View file

@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
- Cataloguing: detect/filter `Ultra HDR`
- Info: show metadata from JPEG MPF
- Info: open images embedded via JPEG MPF
- Arabic translation (thanks Mohamed Zeroug)
- Belarusian translation (thanks Макар Разин)
### Changed

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 281 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 KiB

View file

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View file

@ -213,6 +213,7 @@ class _ReportOverlayState<T> extends State<ReportOverlay<T>> with SingleTickerPr
final processedCount = processed.length.toDouble();
final total = widget.itemCount;
final percent = total == null || total == 0 ? 0.0 : min(1.0, processedCount / total);
final percentFormat = NumberFormat.percentPattern();
return FadeTransition(
opacity: _animation,
child: Stack(
@ -245,7 +246,7 @@ class _ReportOverlayState<T> extends State<ReportOverlay<T>> with SingleTickerPr
animation: animate,
center: total != null
? Text(
NumberFormat.percentPattern().format(percent),
percentFormat.format(percent),
style: const TextStyle(fontSize: fontSize),
)
: null,