Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Add configuration do disable or enable debug bar #137

Open
walva opened this issue Oct 24, 2019 · 1 comment
Open

[Feature request] Add configuration do disable or enable debug bar #137

walva opened this issue Oct 24, 2019 · 1 comment

Comments

@walva
Copy link

walva commented Oct 24, 2019

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.

@Chris8934
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants