Skip to content

Commit e1d7c0b

Browse files
committed
Changes in condition
1 parent 5ae32a4 commit e1d7c0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maui/src/PullToRefresh/SfProgressCircleView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ void DrawBackgroundCircle(ICanvas canvas)
275275
canvas.SetFillPaint(solidPaint, _fillRect);
276276
#if ANDROID
277277
const int androidShadowSize = 4;
278-
if (PullToRefresh.ProgressBackground is SolidColorBrush brush && brush.Color.ToArgbHex() == "#00000000")
278+
if (PullToRefresh.ProgressBackground is SolidColorBrush brush && brush.Color.Alpha == 0)
279279
{
280280
shadowColor = Color.FromArgb("#00000000");
281281
}

0 commit comments

Comments
 (0)