Skip to content

Commit

Permalink
fix: Indicator properties cannot be updated (#818).
Browse files Browse the repository at this point in the history
  • Loading branch information
xuelongqy committed Apr 24, 2024
1 parent 9636869 commit 30a5cd7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 3.3.5+1
- fix: Indicator properties cannot be updated [#818](https://github.com/xuelongqy/flutter_easy_refresh/issues/818).

## 3.3.5
- fix: Material style performance optimization [#814](https://github.com/xuelongqy/flutter_easy_refresh/issues/814).
- fix: Issue during build when IndicatorStateListenable rebinds IndicatorNotifier [#607](https://github.com/xuelongqy/flutter_easy_refresh/issues/607).
Expand Down
3 changes: 2 additions & 1 deletion lib/src/notifier/indicator_notifier.dart
Original file line number Diff line number Diff line change
Expand Up @@ -393,10 +393,11 @@ abstract class IndicatorNotifier extends ChangeNotifier {
if (indicator != null) {
if (indicator.listenable == _indicator.listenable) {
indicator.listenable?._rebind(this);
return;
} else {
_indicator.listenable?._unbind();
indicator.listenable?._bind(this);
}
if (indicator != _indicator) {
_indicator = indicator;
}
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: easy_refresh
description: A flutter widget that provides pull-down refresh and pull-up load.
version: 3.3.5
version: 3.3.5+1
homepage: https://xuelongqy.github.io/flutter_easy_refresh
repository: https://github.com/xuelongqy/flutter_easy_refresh
issue_tracker: https://github.com/xuelongqy/flutter_easy_refresh/issues
Expand Down

0 comments on commit 30a5cd7

Please sign in to comment.