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

Activate app before showing alert #2

Closed
cbenhagen opened this issue Mar 7, 2022 · 3 comments
Closed

Activate app before showing alert #2

cbenhagen opened this issue Mar 7, 2022 · 3 comments

Comments

@cbenhagen
Copy link

On macOS this would call NSApp.activate(ignoringOtherApps: true).

Our app is mostly living in the system tray (using https://github.com/leanflutter/tray_manager) and therefore might not be active when an alert is shown. This behaviour could be optional.

@zonble
Copy link
Owner

zonble commented Mar 7, 2022

Sounds like a great idea. I am not free now but I guess I can do it this weekend.

@zonble
Copy link
Owner

zonble commented Mar 8, 2022

Fixed in 0.2.2.

@zonble zonble closed this as completed Mar 8, 2022
@cbenhagen
Copy link
Author

Thanks a lot!

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