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
Add an ability to set and reset Toastify options globally #803
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
This makes it still local to the app |
That shouldn't be the problem, if we're going to define a container separately for each application. For example, in Files app container is So if we manage to set the global selector for the whole NC instance, it's still needs to be manually changed for Talk, which makes not much sense in that case |
The question is, do we want to make it globally across the apps?
I'm not sure if p.1 is an actual problem. What about to start with a module-wide global and then if there will be a case, to add a fully global option? |
That is actually one of the problems we try to solve. |
Then can we store the value for the default selector in the |
☑️ Resolves
setGlobalToastOptions(options: ToastOptions)
functionresetGlobalToastOptions()
function🚧 Tasks