Skip to content

[macos] onTrayMenuItemClick not activated in master any more. #10

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

Closed
ghost opened this issue Feb 7, 2022 · 1 comment
Closed

[macos] onTrayMenuItemClick not activated in master any more. #10

ghost opened this issue Feb 7, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 7, 2022

Hello,

on macos in the example when using the package from pub:
tray_manager: ^0.1.3

void onTrayMenuItemClick(MenuItem menuItem) {
    print(menuItem.toJson());
    BotToast.showText(
      text: '${menuItem.toJson()}',
    );
  }

onTrayMenuItemClick is activated when I select a menu item.

When I use tray_manager from the master

tray_manager:
  path: ../

the example does not work any more.

I use the master because of issue 4

@lijy91
Copy link
Member

lijy91 commented Mar 4, 2022

Fixed.

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