Update packages

This commit is contained in:
2021-12-28 10:12:05 -06:00
parent ddb39c62a6
commit b80a74d1bc
11 changed files with 9427 additions and 14993 deletions
+13 -8
View File
@@ -13,6 +13,7 @@ namespace qController.UI
SetDynamicResource(BackgroundColorProperty, "NavigationBarColor");
CornerRadius = 0;
HasShadow = false;
Padding = 0;
Margin = 0;
@@ -20,18 +21,18 @@ namespace qController.UI
{
RowSpacing = 0,
ColumnSpacing = 0,
Margin = 0,
Padding = 0,
RowDefinitions = new RowDefinitionCollection {
new RowDefinition { Height = 50 }
new RowDefinition { Height = GridLength.Auto }
},
ColumnDefinitions = new ColumnDefinitionCollection
{
new ColumnDefinition {Width = GridLength.Star},
new ColumnDefinition {Width = new GridLength(4,GridUnitType.Star)},
}
},
};
menuButton = new Label
@@ -44,7 +45,6 @@ namespace qController.UI
Padding = 0,
Margin = new Thickness(10, 0, 0, 0),
Text = IconConstants.Menu,
BackgroundColor = Color.Transparent
};
menuButton.SetDynamicResource(Label.TextColorProperty, "IconTextColor");
@@ -59,7 +59,6 @@ namespace qController.UI
Margin = new Thickness(0, 0, 10, 0),
Padding = 0,
FontSize = App.HeightUnit * 3,
//BackgroundColor = Color.Blue
};
instanceName.SetDynamicResource(Label.TextColorProperty, "PrimaryTextColor");
@@ -73,15 +72,21 @@ namespace qController.UI
{
case Device.iOS:
HeightRequest = App.HeightUnit * 6;
menuButton.FontSize = App.Height * .04;
menuButton.HeightRequest = App.HeightUnit * 6;
instanceName.HeightRequest = App.HeightUnit * 6;
menuButton.FontSize = App.HeightUnit * 5;
break;
case Device.Android:
HeightRequest = App.HeightUnit * 6;
menuButton.FontSize = App.Height * .04;
menuButton.HeightRequest = App.HeightUnit * 6;
instanceName.HeightRequest = App.HeightUnit * 6;
menuButton.FontSize = App.HeightUnit * 5;
break;
default:
HeightRequest = App.HeightUnit * 6;
menuButton.FontSize = App.Height * .04;
menuButton.HeightRequest = App.HeightUnit * 6;
instanceName.HeightRequest = App.HeightUnit * 6;
menuButton.FontSize = App.HeightUnit * 5;
break;
}
@@ -96,7 +96,8 @@ namespace qController.UI
VerticalOptions = LayoutOptions.FillAndExpand,
Margin = 5,
BackgroundColor = Color.Transparent,
FontSize = Device.GetNamedSize(NamedSize.Medium, typeof(Label))
FontSize = Device.GetNamedSize(NamedSize.Medium, typeof(Label)),
HorizontalTextAlignment = TextAlignment.Center,
};
notes.SetDynamicResource(Label.TextColorProperty, "PrimaryTextColor");
notes.SetBinding(Label.TextProperty, "notes", BindingMode.OneWay);
@@ -27,13 +27,15 @@ namespace qController.ViewModels
this.browser.ServerLost += OnServerLost;
Device.StartTimer(TimeSpan.FromSeconds(4), () =>
{
Task.Run(async () =>
Task.Run(() =>
{
if (autoUpdate)
{
//Log.Debug("[QBrowserViewModel] Auto update scan ran");
this.browser.ProbeForQLabInstances();
Device.BeginInvokeOnMainThread(() =>
{
Log.Debug("[QBrowserViewModel] QBrowser probe triggered");
this.browser.ProbeForQLabInstances();
});
}
});
return true;
+4 -4
View File
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>netstandard2.1</TargetFramework>
<AssemblyName>qController</AssemblyName>
<RootNamespace>qController</RootNamespace>
</PropertyGroup>
@@ -57,14 +57,14 @@
</Compile>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Acr.UserDialogs" Version="7.1.0.514" />
<PackageReference Include="Acr.UserDialogs" Version="7.2.0.562" />
<PackageReference Include="Zeroconf" Version="3.5.11" />
<PackageReference Include="Acr.Settings" Version="9.0.1" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Xamarin.Essentials" Version="1.7.0" />
<PackageReference Include="Serilog" Version="2.10.0" />
<PackageReference Include="QControlKit" Version="0.0.20" />
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2125" />
<PackageReference Include="QControlKit" Version="0.0.21" />
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2291" />
</ItemGroup>
<ItemGroup>
<None Remove="App.xaml" />