mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-18 05:34:16 +00:00
* packages.config:
* packages.config: * qController.iOS.csproj: * qController.Droid.csproj: * qController.csproj: Update QControlKit * QBrowserPage.xaml.cs: * QCueViewModel.cs: * QWorkspacePage.xaml.cs: * QBrowserViewModel.cs: Logging cleanup
This commit is contained in:
@@ -7,6 +7,7 @@ using QControlKit;
|
||||
using QControlKit.Events;
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Serilog;
|
||||
|
||||
namespace qController.ViewModels
|
||||
{
|
||||
@@ -42,7 +43,7 @@ namespace qController.ViewModels
|
||||
{
|
||||
Device.BeginInvokeOnMainThread(() =>
|
||||
{
|
||||
System.Console.WriteLine($"[QBrowserViewModel] adding server: {args.server.description}");
|
||||
Log.Debug($"[QBrowserViewModel] adding server: {args.server.description}");
|
||||
ServersGrouped.Add(new QServerViewModel(args.server));
|
||||
});
|
||||
}
|
||||
@@ -65,7 +66,7 @@ namespace qController.ViewModels
|
||||
{
|
||||
Device.BeginInvokeOnMainThread(() =>
|
||||
{
|
||||
System.Console.WriteLine($"[QBrowserViewModel] removing server: {args.server.description}");
|
||||
Log.Debug($"[QBrowserViewModel] removing server: {args.server.description}");
|
||||
ServersGrouped.Remove(serverToRemove);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -46,7 +46,6 @@ namespace qController.ViewModels
|
||||
}
|
||||
else if (property.Equals(QOSCKey.Children))
|
||||
{
|
||||
//Log.Debug("children property updated");
|
||||
if (cue.IsGroup)
|
||||
{
|
||||
OnPropertyChanged("cues");
|
||||
|
||||
@@ -68,7 +68,6 @@ namespace qController.Pages
|
||||
{
|
||||
if (resp.Ok)
|
||||
{
|
||||
Console.WriteLine($"Passcode is null: {resp.Value == null}");
|
||||
await Navigation.PushAsync(new QWorkspacePage(selectedWorkspace, resp.Value));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,8 +60,7 @@ namespace qController
|
||||
|
||||
private void ConnectedWorkspace_WorkspaceConnectionError(object source, QWorkspaceConnectionErrorArgs connectionErrorArgs)
|
||||
{
|
||||
System.Console.WriteLine("WorkspaceConnectionError Called");
|
||||
if (connectionErrorArgs.status.Equals("badpass"))
|
||||
if (connectionErrorArgs.status.Equals(QConnectionStatus.BadPass))
|
||||
{
|
||||
UserDialogs.Instance.Prompt(new PromptConfig
|
||||
{
|
||||
@@ -106,10 +105,10 @@ namespace qController
|
||||
}
|
||||
else
|
||||
{
|
||||
//Setup and "empty" cue for when no cue is selected
|
||||
//Setup an "empty" cue for when no cue is selected
|
||||
QCue emptyCue = new QCue();
|
||||
emptyCue.workspace = connectedWorkspace;
|
||||
emptyCue.type = "Memo";
|
||||
emptyCue.type = QCueType.Memo;
|
||||
emptyCue.listName = "No Cue Selected";
|
||||
|
||||
selectedCueFrame.BindingContext = new QCueViewModel(emptyCue, false);
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
|
||||
<PackageReference Include="Xamarin.Essentials" Version="1.6.1" />
|
||||
<PackageReference Include="Serilog" Version="2.10.0" />
|
||||
<PackageReference Include="QControlKit" Version="0.0.15" />
|
||||
<PackageReference Include="QControlKit" Version="0.0.17" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Remove="App.xaml" />
|
||||
|
||||
Reference in New Issue
Block a user