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

Split logic for showing the toast and installing a shortcut #15

Open
Lakritzator opened this issue May 16, 2017 · 0 comments
Open

Split logic for showing the toast and installing a shortcut #15

Lakritzator opened this issue May 16, 2017 · 0 comments

Comments

@Lakritzator
Copy link

If I understand it correctly, the application which wants to show toasts only needs to install the shortcut once. So to prevent running code which is only needed once, at every time the application wants to show a toast, I would suggest splitting the logic into multiple steps (and classes).

This also would improve the readability of the code.

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

1 participant