actions should be available even without group id

This commit is contained in:
Dennis Ushakov
2018-01-30 23:16:56 +03:00
parent 6749e8ba94
commit 84cb7516db
@@ -196,10 +196,10 @@ public class NotificationTestAction extends AnAction implements DumbAware {
}
else {
myNotification = new Notification(displayId, icon, myTitle, mySubtitle, content, myType, getListener());
if (myActions != null) {
for (String action : myActions) {
myNotification.addAction(new MyAnAction(action));
}
}
if (myActions != null) {
for (String action : myActions) {
myNotification.addAction(new MyAnAction(action));
}
}
}