Skip to content

Commit

Permalink
Change deafult dayview text style
Browse files Browse the repository at this point in the history
  • Loading branch information
Josip Ćaleta committed Feb 20, 2020
1 parent b39896a commit d4ec1a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Calendar.Plugin/Shared/Controls/Calendar.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ public double DaysTitleHeight
}

public static readonly BindableProperty DaysLabelStyleProperty =
BindableProperty.Create(nameof(DaysLabelStyle), typeof(Style), typeof(Calendar), Device.Styles.TitleStyle);
BindableProperty.Create(nameof(DaysLabelStyle), typeof(Style), typeof(Calendar), Device.Styles.BodyStyle);

public Style DaysLabelStyle
{
Expand Down
2 changes: 1 addition & 1 deletion src/Calendar.Plugin/Shared/Controls/MonthDaysView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public double DaysTitleHeight

/// <summary> Bindable property for DaysLabelStyle </summary>
public static readonly BindableProperty DaysLabelStyleProperty =
BindableProperty.Create(nameof(DaysLabelStyle), typeof(Style), typeof(MonthDaysView), Device.Styles.TitleStyle);
BindableProperty.Create(nameof(DaysLabelStyle), typeof(Style), typeof(MonthDaysView), Device.Styles.BodyStyle);

public Style DaysLabelStyle
{
Expand Down
2 changes: 1 addition & 1 deletion src/Calendar.Plugin/Shared/Models/DayModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public float DayViewCornerRadius

public Style DaysLabelStyle
{
get => GetProperty<Style>(Device.Styles.TitleStyle);
get => GetProperty(Device.Styles.BodyStyle);
set => SetProperty(value);
}

Expand Down

0 comments on commit d4ec1a4

Please sign in to comment.