Skip to content

Commit

Permalink
Fixed #14
Browse files Browse the repository at this point in the history
  • Loading branch information
amybytes committed Aug 11, 2019
1 parent 69f5802 commit 140ac5f
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/io/github/rowak/nanoleafdesktop/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -280,16 +280,7 @@ public void setDevices(Aurora[] devices)
EventQueue.invokeLater(() ->
{
this.devices = devices;
if (devices.length == 1)
{
PropertyManager manager = new PropertyManager(PROPERTIES_FILEPATH);
manager.setProperty("lastSession",
devices[0].getHostName() + " " +
devices[0].getPort() + " v1 " +
devices[0].getAccessToken());
System.out.println("**STORED LAST SESSION**");
}
else if (devices.length > 1)
if (devices.length > 1)
{
new TextDialog(this, "You are now in group mode. Your devices are displayed ON TOP " +
"of each other in the preview window. You can move your devices around " +
Expand Down

0 comments on commit 140ac5f

Please sign in to comment.