Skip to content

Commit 140ac5f

Browse files
committed
Fixed #14
1 parent 69f5802 commit 140ac5f

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/io/github/rowak/nanoleafdesktop/Main.java

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -280,16 +280,7 @@ public void setDevices(Aurora[] devices)
280280
EventQueue.invokeLater(() ->
281281
{
282282
this.devices = devices;
283-
if (devices.length == 1)
284-
{
285-
PropertyManager manager = new PropertyManager(PROPERTIES_FILEPATH);
286-
manager.setProperty("lastSession",
287-
devices[0].getHostName() + " " +
288-
devices[0].getPort() + " v1 " +
289-
devices[0].getAccessToken());
290-
System.out.println("**STORED LAST SESSION**");
291-
}
292-
else if (devices.length > 1)
283+
if (devices.length > 1)
293284
{
294285
new TextDialog(this, "You are now in group mode. Your devices are displayed ON TOP " +
295286
"of each other in the preview window. You can move your devices around " +

0 commit comments

Comments
 (0)