user_interface_components/notifications.md: fixed example snippet

This commit is contained in:
DoubleLuck 2020-11-20 15:48:26 +08:00 committed by GitHub
parent 2adf8ea27b
commit 410dbc6956
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}