Skip to content

Commit

Permalink
Limit gigabyte sizing string to two decimal figures in file provider …
Browse files Browse the repository at this point in the history
…storage info

Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra committed Feb 5, 2024
1 parent 14db62f commit c91876d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/macOS/ui/FileProviderStorageInfo.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit c91876d

Please sign in to comment.