From e9aa11a1b08c54c80995a065383423f4f1a0a0ed Mon Sep 17 00:00:00 2001
From: Morris Jobke <hey@morrisjobke.de>
Date: Thu, 28 Sep 2017 17:58:49 +0200
Subject: [PATCH] Use full percentages in quota bar percentages

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
---
 lib/private/Settings/Personal/PersonalInfo.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/Settings/Personal/PersonalInfo.php b/lib/private/Settings/Personal/PersonalInfo.php
index e92541c0010..389257cf892 100644
--- a/lib/private/Settings/Personal/PersonalInfo.php
+++ b/lib/private/Settings/Personal/PersonalInfo.php
@@ -116,7 +116,7 @@ class PersonalInfo implements ISettings {
 		$parameters = [
 			'total_space' => $totalSpace,
 			'usage' => \OC_Helper::humanFileSize($storageInfo['used']),
-			'usage_relative' => $storageInfo['relative'],
+			'usage_relative' => round($storageInfo['relative']),
 			'quota' => $storageInfo['quota'],
 			'avatarChangeSupported' => $user->canChangeAvatar(),
 			'lookupServerUploadEnabled' => $lookupServerUploadEnabled,
-- 
GitLab