Dear,
When trying to implement, I get this error: "manageDarkTheme is not defined".
I don't find the instructions on how to make it work.
Please add instructions on how to resolve error and implement dark theme properly.
Thank you!
Hi Xrisitna,
I suggest you check whether the layout or the screen in which you have implemented the DarkMode toggle functionality references the required JS file from the respective Asset TH module. For example, refer to the below screen capture, which points to the exact implementation in the Asset demo application.
I hope this helps you!
Kind regards,
Benjith Sam
Hi Xristina,
AsBenjith Sam said, maybe you didn't add the script on your block.
Would you please share your oml file?
We will add documentation soon.
Cheers,
Luís
That was indeed the case, now it works. Thank you very much!