added set camera by index and bugfix in current camera

This commit is contained in:
ori agranat
2019-10-25 06:37:04 -07:00
parent 583154090b
commit a89ab3393f
2 changed files with 5 additions and 1 deletions

View File

@@ -111,7 +111,7 @@ public class ServerHandler {
break;
}
case "currentCamera": {
CameraManager.setCurrentCamera((String) entry.getValue());
CameraManager.setCurrentCamera((Integer) entry.getValue());
sendFullSettings();
break;
}