diff --git a/pom.xml b/pom.xml index 62929d1..1f0df36 100644 --- a/pom.xml +++ b/pom.xml @@ -62,7 +62,7 @@ org.controlsfx controlsfx - 8.40.9 + 8.60-SNAPSHOT com.google.code.gson diff --git a/src/main/java/eu/over9000/skadi/util/NotificationUtil.java b/src/main/java/eu/over9000/skadi/util/NotificationUtil.java index 0c53d6b..4dead26 100644 --- a/src/main/java/eu/over9000/skadi/util/NotificationUtil.java +++ b/src/main/java/eu/over9000/skadi/util/NotificationUtil.java @@ -29,6 +29,9 @@ import javafx.scene.layout.Pane; import javafx.stage.Stage; import javafx.stage.StageStyle; +import javafx.util.Duration; + +import org.controlsfx.control.Notifications; import eu.over9000.skadi.model.Channel; import eu.over9000.skadi.model.StateContainer; @@ -51,7 +54,7 @@ public static void showOnlineNotification(final Channel channel) { // TODO wait on fix from controlsfx: https://bitbucket.org/controlsfx/controlsfx/issues/526/ - // Notifications.create().text(channel.getName() + " went live").title("Skadi").hideAfter(Duration.seconds(5)).graphic(img).show(); + Notifications.create().text(channel.getName() + " went live").title("Skadi").hideAfter(Duration.seconds(5)).graphic(img).show(); }); service.start(); }