More cleanup

This commit is contained in:
2019-07-17 14:08:13 -05:00
parent 0848336987
commit 407a759ee3
3 changed files with 2 additions and 7 deletions
@@ -1,7 +1,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text;
using System.Net.Sockets; using System.Net.Sockets;
using System.Net; using System.Net;
using System.Threading; using System.Threading;
-4
View File
@@ -1,10 +1,6 @@
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets; using System.Net.Sockets;
using System.Net; using System.Net;
using System.Threading;
namespace SharpOSC namespace SharpOSC
{ {
@@ -50,13 +50,13 @@ namespace qController
} }
} }
private void PromptForWorkspace(List<QInfo> workspaces) private void PromptForWorkspace(List<QWorkspaceInfo> workspaces)
{ {
ActionSheetConfig config = new ActionSheetConfig(); ActionSheetConfig config = new ActionSheetConfig();
config.SetTitle("Select Workspace"); config.SetTitle("Select Workspace");
for (int i = 0; i < workspaces.Count; i++) for (int i = 0; i < workspaces.Count; i++)
{ {
QInfo workspace = workspaces[i]; QWorkspaceInfo workspace = workspaces[i];
config.Add(workspace.displayName, new Action(() => { config.Add(workspace.displayName, new Action(() => {
Console.WriteLine("Workspace Selected: " + workspace.displayName); Console.WriteLine("Workspace Selected: " + workspace.displayName);
qController.Connect(workspace.uniqueID); qController.Connect(workspace.uniqueID);