mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-26 18:56:38 +00:00
Fix money display
This commit is contained in:
parent
62db476575
commit
254604d584
|
@ -59,7 +59,7 @@ class _ExtendingVolumePageState extends State<ExtendingVolumePage> {
|
|||
_sizeController.text = _currentSliderGbValue.truncate().toString();
|
||||
_priceController.text =
|
||||
(_euroPerGb * double.parse(_sizeController.text))
|
||||
.toStringAsPrecision(2);
|
||||
.toStringAsFixed(2);
|
||||
minSize = widget.diskVolumeToResize.sizeTotal;
|
||||
if (_currentSliderGbValue < 0) {
|
||||
_currentSliderGbValue = minSize.asGb();
|
||||
|
|
Loading…
Reference in a new issue