tiny fix
This commit is contained in:
@ -230,7 +230,7 @@ namespace Billing.UI
|
||||
{
|
||||
public static readonly BindableProperty DateProperty = Helper.Create<DateTime, BillingDay>(nameof(Date), propertyChanged: OnDatePropertyChanged);
|
||||
public static readonly BindableProperty TextProperty = Helper.Create<string, BillingDay>(nameof(Text));
|
||||
public static readonly BindableProperty FontFamilyProperty = Helper.Create<string, BillingDay>(nameof(FontFamily), defaultValue: Definition.GetRegularFontFamily());
|
||||
public static readonly BindableProperty FontFamilyProperty = Helper.Create<string, BillingDay>(nameof(FontFamily), defaultValue: Definition.RegularFontFamily);
|
||||
public static readonly BindableProperty IsSelectedProperty = Helper.Create<bool, BillingDay>(nameof(IsSelected), defaultValue: false);
|
||||
public static readonly BindableProperty OpacityProperty = Helper.Create<double, BillingDay>(nameof(Opacity), defaultValue: 1.0);
|
||||
public static readonly BindableProperty TextOpacityProperty = Helper.Create<double, BillingDay>(nameof(TextOpacity), defaultValue: 1.0);
|
||||
@ -273,11 +273,11 @@ namespace Billing.UI
|
||||
if (Helper.IsSameDay(date, selected))
|
||||
{
|
||||
IsSelected = true;
|
||||
SetValue(FontFamilyProperty, Definition.GetBoldFontFamily());
|
||||
SetValue(FontFamilyProperty, Definition.BoldFontFamily);
|
||||
}
|
||||
else
|
||||
{
|
||||
SetValue(FontFamilyProperty, Definition.GetRegularFontFamily());
|
||||
SetValue(FontFamilyProperty, Definition.RegularFontFamily);
|
||||
}
|
||||
if (date.Year == selected.Year && date.Month == selected.Month)
|
||||
{
|
||||
|
Reference in New Issue
Block a user