From 63ef389db1462b665b151cbc8e7d20c13d0837d7 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Tue, 2 Jul 2019 19:45:14 +0200 Subject: Revert parts hide quota bar if unlimited Signed-off-by: Daniel Kesselberg --- apps/files/lib/Controller/ViewController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files/lib/Controller') diff --git a/apps/files/lib/Controller/ViewController.php b/apps/files/lib/Controller/ViewController.php index 49f1818780b..cf1b4374da4 100644 --- a/apps/files/lib/Controller/ViewController.php +++ b/apps/files/lib/Controller/ViewController.php @@ -227,7 +227,7 @@ class ViewController extends Controller { $nav->assign('navigationItems', $navItems); - $nav->assign('usage', \OC_Helper::humanFileSize(ceil($storageInfo['used'] / 102400) * 102400)); + $nav->assign('usage', \OC_Helper::humanFileSize($storageInfo['used'])); if ($storageInfo['quota'] === \OCP\Files\FileInfo::SPACE_UNLIMITED) { $totalSpace = $this->l10n->t('Unlimited'); } else { -- cgit v1.2.3