MobileDetectBundle
MobileDetectBundle copied to clipboard
[Feature request] Add configuration do disable or enable debug bar
Hello there!
First of all, thank you for this bundle, very useful! Our website is responsive and some advanced features were not working on iOS (send text message for example shortcut button for example).
The bundle provides a new icon in the debug bar which is very handy, but I would like to display it from time to time instead of all the time. The debug bar is getting bigger and bigger and it's becoming annoying for debugging templates.
I'm very new to GitHub and PR but I will definitely try to help you with this one!
I suggest to implement a configuration like this:
#app/config/config.yml
mobile_detect:
debug_bar_enabled: false
WDYT?
Best regards.
It would be a workaround for the actual problem that Toolbar is not working. (Symfony 3.4.35)
The profiler template "MobileDetectBundle:Collector:device.html.twig" for data collector "device.collector" does not exist.