mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-18 21:54:17 +00:00
Organize Views
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="qController.HomePage">
|
||||
<ContentPage.Content>
|
||||
</ContentPage.Content>
|
||||
</ContentPage>
|
||||
@@ -1,15 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace qController
|
||||
{
|
||||
public partial class HomePage : ContentPage
|
||||
{
|
||||
public HomePage()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -65,7 +65,7 @@ namespace qController.Pages
|
||||
if (resp.Ok)
|
||||
{
|
||||
Console.WriteLine($"Passcode is null: {resp.Value == null}");
|
||||
await Navigation.PushAsync(new WorkspacePage(selectedWorkspace, resp.Value));
|
||||
await Navigation.PushAsync(new QWorkspacePage(selectedWorkspace, resp.Value));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ namespace qController.Pages
|
||||
}
|
||||
else
|
||||
{
|
||||
await Navigation.PushAsync(new WorkspacePage(selectedWorkspace));
|
||||
await Navigation.PushAsync(new QWorkspacePage(selectedWorkspace));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
xmlns:qui="clr-namespace:qController.UI"
|
||||
ios:Page.UseSafeArea="true"
|
||||
mc:Ignorable="d"
|
||||
x:Class="qController.WorkspacePage"
|
||||
x:Class="qController.QWorkspacePage"
|
||||
BackgroundColor="{DynamicResource PageBackgroundColor}">
|
||||
<Grid RowSpacing="0">
|
||||
<Grid.RowDefinitions>
|
||||
+2
-2
@@ -15,12 +15,12 @@ using System;
|
||||
|
||||
namespace qController
|
||||
{
|
||||
public partial class WorkspacePage : ContentPage
|
||||
public partial class QWorkspacePage : ContentPage
|
||||
{
|
||||
private QWorkspace connectedWorkspace;
|
||||
private string passcode;
|
||||
private Dictionary<string, Grid> cueGridDict = new Dictionary<string, Grid>();
|
||||
public WorkspacePage(QWorkspace workspace, string passcode = null)
|
||||
public QWorkspacePage(QWorkspace workspace, string passcode = null)
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
Reference in New Issue
Block a user