diff --git a/appinfo/info.xml b/appinfo/info.xml
index f3519366f6..73bca689a4 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -12,7 +12,7 @@
office
integration
-
+
https://nextcloud.com/collaboraonline/
diff --git a/img/app-dark.svg b/img/app-dark.svg
new file mode 100644
index 0000000000..7c02382410
--- /dev/null
+++ b/img/app-dark.svg
@@ -0,0 +1,4 @@
+
+
diff --git a/lib/Settings/Section.php b/lib/Settings/Section.php
index 671293c60f..25f69dcfdf 100644
--- a/lib/Settings/Section.php
+++ b/lib/Settings/Section.php
@@ -24,16 +24,22 @@
namespace OCA\Richdocuments\Settings;
use OCP\IL10N;
-use OCP\Settings\ISection;
+use OCP\IURLGenerator;
+use OCP\Settings\IIconSection;
-class Section implements ISection {
+class Section implements IIconSection {
/** @var IL10N */
private $l;
+ /** @var IURLGenerator */
+ private $url;
+
/**
* @param IL10N $l
+ * @param IURLGenerator $url
*/
- public function __construct(IL10N $l) {
+ public function __construct(IL10N $l, IURLGenerator $url) {
$this->l = $l;
+ $this->url = $url;
}
/**
* {@inheritdoc}
@@ -53,4 +59,11 @@ public function getName() {
public function getPriority() {
return 75;
}
+
+ /**
+ * {@inheritdoc}
+ */
+ public function getIcon() {
+ return $this->url->imagePath('richdocuments', 'app-dark.svg');
+ }
}