Skip to content

Commit 30a5cd7

Browse files
committed
fix: Indicator properties cannot be updated (#818).
1 parent 9636869 commit 30a5cd7

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 3.3.5+1
2+
- fix: Indicator properties cannot be updated [#818](https://github.com/xuelongqy/flutter_easy_refresh/issues/818).
3+
14
## 3.3.5
25
- fix: Material style performance optimization [#814](https://github.com/xuelongqy/flutter_easy_refresh/issues/814).
36
- fix: Issue during build when IndicatorStateListenable rebinds IndicatorNotifier [#607](https://github.com/xuelongqy/flutter_easy_refresh/issues/607).

lib/src/notifier/indicator_notifier.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -393,10 +393,11 @@ abstract class IndicatorNotifier extends ChangeNotifier {
393393
if (indicator != null) {
394394
if (indicator.listenable == _indicator.listenable) {
395395
indicator.listenable?._rebind(this);
396-
return;
397396
} else {
398397
_indicator.listenable?._unbind();
399398
indicator.listenable?._bind(this);
399+
}
400+
if (indicator != _indicator) {
400401
_indicator = indicator;
401402
}
402403
}

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: easy_refresh
22
description: A flutter widget that provides pull-down refresh and pull-up load.
3-
version: 3.3.5
3+
version: 3.3.5+1
44
homepage: https://xuelongqy.github.io/flutter_easy_refresh
55
repository: https://github.com/xuelongqy/flutter_easy_refresh
66
issue_tracker: https://github.com/xuelongqy/flutter_easy_refresh/issues

0 commit comments

Comments
 (0)