File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 3030use OCA \FirstRunWizard \Notification \AppHint ;
3131use OCP \AppFramework \Http \Events \BeforeTemplateRenderedEvent ;
3232use OCP \BackgroundJob \IJobList ;
33+ use OCP \Defaults ;
3334use OCP \EventDispatcher \Event ;
3435use OCP \EventDispatcher \IEventListener ;
3536use 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 {
You can’t perform that action at this time.
0 commit comments