mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
user_interface_components/notifications.md: fixed example snippet
This commit is contained in:
parent
2adf8ea27b
commit
410dbc6956
@ -76,7 +76,7 @@ public class MyNotifier {
|
||||
new NotificationGroup("Custom Notification Group", NotificationDisplayType.BALLOON, true);
|
||||
|
||||
public static void notifyError(@Nullable Project project, String content) {
|
||||
NOTIFICATION_GROUP.createNotification(content, NotificationType.ERROR);
|
||||
NOTIFICATION_GROUP.createNotification(content, NotificationType.ERROR)
|
||||
.notify(project);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user