mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 22:46:04 +03:00
Limit gigabyte sizing string to two decimal figures in file provider storage info
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
81d4aa7446
commit
a428256e4f
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ GridLayout {
|
||||||
Layout.row: 0
|
Layout.row: 0
|
||||||
Layout.column: 1
|
Layout.column: 1
|
||||||
Layout.alignment: Layout.AlignRight | Layout.AlignVCenter
|
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
|
color: Style.ncSecondaryTextColor
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue