Universal Viewer doesn't recognize config.json from the theme assets

I have the following settings in [custom-theme-root]/asset/universal-viewer/config.json

{
“options”: {
“dropEnabled”: true,
“footerPanelEnabled”: false,
“headerPanelEnabled”: false,
“leftPanelEnabled”: false,
“limitLocales”: true,
“overrideFullScreen”: false,
“pagingEnabled”: true,
“rightPanelEnabled”: true
},
“modules”: {
“headerPanel”: {
“options”: {
“localeToggleEnabled”: false
}
},
“seadragonCenterPanel”: {
“options”: {
“autoHideControls”: true
}
}
}

My goal is to hide metadata and attribution panels, as paging for multi-page PDFs is only UI-feature needed in a site I’m currently setting up. For some reason, config.json in theme doesn’t seem to have any effect. Passing settings as $options array when calling $this->universalViewer($item, $options) doesn’ work either. It is likely that this is not a bug but my mistake, but I’m not able to spot it myself :confused:

This was stupid mistake on my side. I had forgot to include config.json to the theme version control repo. Instead of the config.json I only had [custom-theme-root]/asset/universal-viewer/ folder :stuck_out_tongue: