Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

Commit c421686

Browse files
authored
Merge pull request #344 from Unity-Technologies/zxw/fix_refresher_bug
fix refreshIndicator bug
2 parents 3c32999 + 32d863b commit c421686

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

com.unity.uiwidgets/Runtime/material/refresh_indicator.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public RefreshIndicator(
4040
Color color = null,
4141
Color backgroundColor = null,
4242
ScrollNotificationPredicate notificationPredicate = null,
43-
float strokenWidth = 2.0f
43+
float strokeWidth = 2.0f
4444
) : base(key: key) {
4545
D.assert(child != null);
4646
D.assert(onRefresh != null);
@@ -50,6 +50,7 @@ public RefreshIndicator(
5050
this.color = color;
5151
this.backgroundColor = backgroundColor;
5252
this.notificationPredicate = notificationPredicate ?? ScrollNotification.defaultScrollNotificationPredicate;
53+
this.strokeWidth = strokeWidth;
5354
}
5455

5556
public readonly Widget child;

0 commit comments

Comments
 (0)