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

Easy way to toggle multiple interceptors #642

Open
Nikitae57 opened this issue Apr 19, 2024 · 0 comments
Open

Easy way to toggle multiple interceptors #642

Nikitae57 opened this issue Apr 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Nikitae57
Copy link
Collaborator

Nikitae57 commented Apr 19, 2024

It would be cool to group interceptors by their functions so the user could do something like

disableInterceptors(InterceptorsGroups.SyStemDialogSafety)

instead of

dataBehaviorInterceptors.removeIf { it is SystemDialogSafetyProvider }
deviceBehaviorInterceptors.removeIf { it is SystemDialogSafetyProvider }
objectBehaviorInterceptors.removeIf { it is SystemDialogSafetyProvider }
webBehaviorInterceptors.removeIf { it is SystemDialogSafetyProvider }
viewBehaviorInterceptors.removeIf { it is SystemDialogSafetyProvider }
@Nikitae57 Nikitae57 added the enhancement New feature or request label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant