Fix storage card size view

pull/111/head
NaiJi ✨ 2022-08-29 23:15:48 +03:00
parent d247f41da4
commit d168845b98
2 changed files with 4 additions and 4 deletions

View File

@ -168,8 +168,8 @@
"card_title": "Server Storage",
"status_ok": "Disk usage is OK",
"status_error": "Low disk space",
"disk_usage": "{} GB used",
"disk_total": "{} GB total · {}",
"disk_usage": "{} used",
"disk_total": "{} total · {}",
"gb": "{} GB",
"mb": "{} MB",
"kb": "{} KB",

View File

@ -41,7 +41,7 @@ class ServerStorageListItem extends StatelessWidget {
Text(
'providers.storage.disk_usage'.tr(
args: [
volume.sizeUsed.asGb().toStringAsPrecision(3),
volume.sizeUsed.toString(),
],
),
style: titleStyle,
@ -59,7 +59,7 @@ class ServerStorageListItem extends StatelessWidget {
Text(
'providers.storage.disk_total'.tr(
args: [
volume.sizeTotal.asGb().toStringAsPrecision(3),
volume.sizeTotal.toString(),
volume.name,
],
),