From 1072a1a15c50ad54e1dc8079f73aed05ba7373b1 Mon Sep 17 00:00:00 2001 From: Tsanie Lily Date: Mon, 28 Mar 2022 16:46:22 +0800 Subject: [PATCH] fix --- Billing/Billing.Android/Billing.Android.csproj | 4 ++-- Billing/Billing.Android/Resources/Resource.designer.cs | 2 +- Billing/Billing.iOS/Billing.iOS.csproj | 1 + Billing/Billing.iOS/Renderers/SegmentedControlRenderer.cs | 6 +++--- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Billing/Billing.Android/Billing.Android.csproj b/Billing/Billing.Android/Billing.Android.csproj index ea9e04b..c36f648 100644 --- a/Billing/Billing.Android/Billing.Android.csproj +++ b/Billing/Billing.Android/Billing.Android.csproj @@ -20,8 +20,8 @@ true true Xamarin.Android.Net.AndroidClientHandler - - + + true 9.0 diff --git a/Billing/Billing.Android/Resources/Resource.designer.cs b/Billing/Billing.Android/Resources/Resource.designer.cs index 83bb8f4..5168da5 100644 --- a/Billing/Billing.Android/Resources/Resource.designer.cs +++ b/Billing/Billing.Android/Resources/Resource.designer.cs @@ -14,7 +14,7 @@ namespace Billing.Droid { - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "12.2.0.155")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")] public partial class Resource { diff --git a/Billing/Billing.iOS/Billing.iOS.csproj b/Billing/Billing.iOS/Billing.iOS.csproj index a454d24..d0d2c6e 100644 --- a/Billing/Billing.iOS/Billing.iOS.csproj +++ b/Billing/Billing.iOS/Billing.iOS.csproj @@ -16,6 +16,7 @@ NSUrlSessionHandler manual 9.0 + true true diff --git a/Billing/Billing.iOS/Renderers/SegmentedControlRenderer.cs b/Billing/Billing.iOS/Renderers/SegmentedControlRenderer.cs index 6ff1208..160c0fd 100644 --- a/Billing/Billing.iOS/Renderers/SegmentedControlRenderer.cs +++ b/Billing/Billing.iOS/Renderers/SegmentedControlRenderer.cs @@ -92,7 +92,7 @@ namespace Billing.iOS.Renderers { //var color = Element.SelectedTextColor; //UIColor c = color == default ? UIColor.LabelColor : color.ToUIColor(); - UIColor c = UIColor.LabelColor; + UIColor c = UIColor.Label; var attribute = new UITextAttributes { TextColor = c @@ -112,7 +112,7 @@ namespace Billing.iOS.Renderers //var tintColor = element.TintColor; //if (tintColor == default) //{ - return UIColor.SystemGray6Color; + return UIColor.SystemGray6; //} //else //{ @@ -124,7 +124,7 @@ namespace Billing.iOS.Renderers //var disabledColor = element.DisabledColor; //if (disabledColor == default) //{ - return UIColor.SecondaryLabelColor; + return UIColor.SecondaryLabel; //} //else //{