We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 48df49f + 33653aa commit 988b448Copy full SHA for 988b448
2 files changed
img/app-dark.svg
lib/Settings/AdminSection.php
@@ -24,15 +24,19 @@
24
25
26
use OCP\IL10N;
27
-use OCP\Settings\ISection;
+use OCP\IURLGenerator;
28
+use OCP\Settings\IIconSection;
29
-class AdminSection implements ISection {
30
+class AdminSection implements IIconSection {
31
32
/** @var IL10N */
33
private $l;
34
+ /** @var IURLGenerator */
35
+ private $url;
36
- public function __construct(IL10N $l) {
37
+ public function __construct(IL10N $l, IURLGenerator $url) {
38
$this->l = $l;
39
+ $this->url = $url;
40
}
41
42
/**
@@ -65,4 +69,10 @@ public function getPriority() {
65
69
return 0;
66
70
67
71
72
+ /**
73
+ * {@inheritdoc}
74
+ */
75
+ public function getIcon() {
76
+ return $this->url->imagePath('serverinfo', 'app-dark.svg');
77
+ }
68
78
0 commit comments