From e18397284bb9d693f04c4483f4a05fe17fa6bcb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Mon, 25 Nov 2019 13:46:45 +0100 Subject: [PATCH] Use person icon for personal settings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/private/Settings/Manager.php | 2 +- tests/lib/Settings/ManagerTest.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/private/Settings/Manager.php b/lib/private/Settings/Manager.php index a5ffa9e0f1..1205cb8152 100644 --- a/lib/private/Settings/Manager.php +++ b/lib/private/Settings/Manager.php @@ -348,7 +348,7 @@ class Manager implements IManager { } $sections = [ - 0 => [new Section('personal-info', $this->l->t('Personal info'), 0, $this->url->imagePath('core', 'actions/info.svg'))], + 0 => [new Section('personal-info', $this->l->t('Personal info'), 0, $this->url->imagePath('core', 'actions/user.svg'))], 5 => [new Section('security', $this->l->t('Security'), 0, $this->url->imagePath('settings', 'password.svg'))], 15 => [new Section('sync-clients', $this->l->t('Mobile & desktop'), 0, $this->url->imagePath('core', 'clients/phone.svg'))], ]; diff --git a/tests/lib/Settings/ManagerTest.php b/tests/lib/Settings/ManagerTest.php index 8d1c9f768e..3339c50c4d 100644 --- a/tests/lib/Settings/ManagerTest.php +++ b/tests/lib/Settings/ManagerTest.php @@ -119,7 +119,7 @@ class ManagerTest extends TestCase { $this->url->expects($this->exactly(3)) ->method('imagePath') ->willReturnMap([ - ['core', 'actions/info.svg', '1'], + ['core', 'actions/user.svg', '1'], ['settings', 'password.svg', '2'], ['core', 'clients/phone.svg', '3'], ]); @@ -178,7 +178,7 @@ class ManagerTest extends TestCase { $this->url->expects($this->exactly(3)) ->method('imagePath') ->willReturnMap([ - ['core', 'actions/info.svg', '1'], + ['core', 'actions/user.svg', '1'], ['settings', 'password.svg', '2'], ['core', 'clients/phone.svg', '3'], ]); @@ -279,7 +279,7 @@ class ManagerTest extends TestCase { $this->url->expects($this->exactly(9)) ->method('imagePath') ->willReturnMap([ - ['core', 'actions/info.svg', '1'], + ['core', 'actions/user.svg', '1'], ['settings', 'password.svg', '2'], ['core', 'clients/phone.svg', '3'], ['settings', 'admin.svg', '0'],