Skip to content

Commit 6fe3cfa

Browse files
authored
Merge pull request #3244 from nextcloud/settings-icon
Settings icon for LDAP and encryption
2 parents ffe2543 + 95ef625 commit 6fe3cfa

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

apps/encryption/css/settings-personal.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,8 @@
88
, #recoveryEnabledSuccess {
99
display: none;
1010
}
11+
12+
/* icons for sidebar */
13+
.nav-icon-basic-encryption-module {
14+
background-image: url('../img/app.svg?v=1');
15+
}

apps/user_ldap/img/app-dark.svg

Lines changed: 4 additions & 0 deletions
Loading

apps/user_ldap/lib/Settings/Section.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,6 @@ public function getPriority() {
7777
* {@inheritdoc}
7878
*/
7979
public function getIcon() {
80-
return $this->url->imagePath('user_ldap', 'app.svg');
80+
return $this->url->imagePath('user_ldap', 'app-dark.svg');
8181
}
8282
}

apps/user_ldap/tests/Settings/SectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function testGetPriority() {
6868
public function testGetIcon() {
6969
$this->url->expects($this->once())
7070
->method('imagePath')
71-
->with('user_ldap', 'app.svg')
71+
->with('user_ldap', 'app-dark.svg')
7272
->willReturn('icon');
7373

7474
$this->assertSame('icon', $this->section->getIcon());

0 commit comments

Comments
 (0)