From 75f694821ecb54147f4265f0773c7de61476a18a 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 ff8b6f3b2b697..2830309b30982 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 }