From a428256e4f98f38514eb24da6cd0f0cc85b2951a Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Mon, 15 Jan 2024 17:27:19 +0800 Subject: [PATCH] Limit gigabyte sizing string to two decimal figures in file provider storage info Signed-off-by: Claudio Cambra --- src/gui/macOS/ui/FileProviderStorageInfo.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/macOS/ui/FileProviderStorageInfo.qml b/src/gui/macOS/ui/FileProviderStorageInfo.qml index ff8b6f3b2..2830309b3 100644 --- a/src/gui/macOS/ui/FileProviderStorageInfo.qml +++ b/src/gui/macOS/ui/FileProviderStorageInfo.qml @@ -46,7 +46,7 @@ GridLayout { Layout.row: 0 Layout.column: 1 Layout.alignment: Layout.AlignRight | Layout.AlignVCenter - text: qsTr("%1 GB of %2 GB remote files synced").arg(root.localUsedStorage).arg(root.remoteUsedStorage); + text: qsTr("%1 GB of %2 GB remote files synced").arg(root.localUsedStorage.toFixed(2)).arg(root.remoteUsedStorage.toFixed(2)); color: Style.ncSecondaryTextColor horizontalAlignment: Text.AlignRight }