Skip to content

Commit e1cd170

Browse files
committed
add theming
Signed-off-by: Simon L <szaimen@e.mail.de>
1 parent 734c973 commit e1cd170

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/Listener/BeforeTemplateRenderedListener.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
use OCA\FirstRunWizard\Notification\AppHint;
3131
use OCP\AppFramework\Http\Events\BeforeTemplateRenderedEvent;
3232
use OCP\BackgroundJob\IJobList;
33+
use OCP\Defaults;
3334
use OCP\EventDispatcher\Event;
3435
use OCP\EventDispatcher\IEventListener;
3536
use OCP\IConfig;
@@ -59,18 +60,23 @@ class BeforeTemplateRenderedListener implements IEventListener {
5960
/** @var IInitialState */
6061
protected $initialState;
6162

63+
/** @var Defaults */
64+
protected $theming;
65+
6266
public function __construct(
6367
IConfig $config,
6468
IUserSession $userSession,
6569
IJobList $jobList,
6670
AppHint $appHint,
6771
IInitialState $initialState,
72+
Defaults $theming,
6873
) {
6974
$this->userSession = $userSession;
7075
$this->config = $config;
7176
$this->appHint = $appHint;
7277
$this->jobList = $jobList;
7378
$this->initialState = $initialState;
79+
$this->theming = $theming;
7480
}
7581

7682
public function handle(Event $event): void {

0 commit comments

Comments
 (0)