Skip to content

Commit

Permalink
disable notifications as of https://bitbucket.org/controlsfx/controls…
Browse files Browse the repository at this point in the history
  • Loading branch information
s1mpl3x committed Aug 20, 2015
1 parent 521ca99 commit 2b56536
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main/java/eu/over9000/skadi/util/NotificationUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
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;
Expand All @@ -52,7 +49,9 @@ public static void showOnlineNotification(final Channel channel) {
service.setOnSucceeded(event -> {
final ImageView img = (ImageView) event.getSource().getValue();

Notifications.create().text(channel.getName() + " went live").title("Skadi").hideAfter(Duration.seconds(5)).graphic(img).show();

// 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();
});
service.start();
}
Expand Down

0 comments on commit 2b56536

Please sign in to comment.