Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 5fd2b23

Browse files
author
Matthew S
committed
fix badge background color (#1080)
1 parent caa3ebc commit 5fd2b23

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/CommunityToolkit/Xamarin.CommunityToolkit/Views/BadgeView/BadgeView.shared.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,9 @@ public IBadgeAnimation BadgeAnimation
103103
/// Backing BindableProperty for the <see cref="BackgroundColor"/> property.
104104
/// </summary>
105105
public static new BindableProperty BackgroundColorProperty =
106-
BindableProperty.Create(nameof(BackgroundColor), typeof(Color), typeof(BadgeView), defaultValue: Color.Default);
107-
106+
BindableProperty.Create(nameof(BackgroundColor), typeof(Color), typeof(BadgeView), defaultValue: Color.Default,
107+
propertyChanged: OnLayoutPropertyChanged);
108+
108109
/// <summary>
109110
/// Gets or sets the background <see cref="Color"/> of the badge. This is a bindable property.
110111
/// </summary>

0 commit comments

Comments
 (0)