This commit is contained in:
Tsanie Lily 2022-03-28 16:46:22 +08:00
parent 469b1a8627
commit 1072a1a15c
4 changed files with 7 additions and 6 deletions

View File

@ -20,8 +20,8 @@
<AndroidEnableSGenConcurrent>true</AndroidEnableSGenConcurrent> <AndroidEnableSGenConcurrent>true</AndroidEnableSGenConcurrent>
<AndroidUseAapt2>true</AndroidUseAapt2> <AndroidUseAapt2>true</AndroidUseAapt2>
<AndroidHttpClientHandlerType>Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType> <AndroidHttpClientHandlerType>Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType>
<NuGetPackageImportStamp> <NuGetPackageImportStamp></NuGetPackageImportStamp>
</NuGetPackageImportStamp> <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<LangVersion>9.0</LangVersion> <LangVersion>9.0</LangVersion>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

View File

@ -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 public partial class Resource
{ {

View File

@ -16,6 +16,7 @@
<MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler> <MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
<ProvisioningType>manual</ProvisioningType> <ProvisioningType>manual</ProvisioningType>
<LangVersion>9.0</LangVersion> <LangVersion>9.0</LangVersion>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>

View File

@ -92,7 +92,7 @@ namespace Billing.iOS.Renderers
{ {
//var color = Element.SelectedTextColor; //var color = Element.SelectedTextColor;
//UIColor c = color == default ? UIColor.LabelColor : color.ToUIColor(); //UIColor c = color == default ? UIColor.LabelColor : color.ToUIColor();
UIColor c = UIColor.LabelColor; UIColor c = UIColor.Label;
var attribute = new UITextAttributes var attribute = new UITextAttributes
{ {
TextColor = c TextColor = c
@ -112,7 +112,7 @@ namespace Billing.iOS.Renderers
//var tintColor = element.TintColor; //var tintColor = element.TintColor;
//if (tintColor == default) //if (tintColor == default)
//{ //{
return UIColor.SystemGray6Color; return UIColor.SystemGray6;
//} //}
//else //else
//{ //{
@ -124,7 +124,7 @@ namespace Billing.iOS.Renderers
//var disabledColor = element.DisabledColor; //var disabledColor = element.DisabledColor;
//if (disabledColor == default) //if (disabledColor == default)
//{ //{
return UIColor.SecondaryLabelColor; return UIColor.SecondaryLabel;
//} //}
//else //else
//{ //{