Skip to content

Commit

Permalink
fix: finishLoad asset [#563](#563).
Browse files Browse the repository at this point in the history
  • Loading branch information
xuelongqy committed Jul 11, 2022
1 parent b74c022 commit 7576cb7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Change log

## Next
## V 3.0.1
> fix: Use notifyListeners after ChangeNotifier disposed. Thanks laiiihz for [PR#555](https://github.com/xuelongqy/flutter_easy_refresh/pull/555).
> feat: ClassicHeader、ClassicFooter add IconThemeData. Thanks Lay523 for [PR#562](https://github.com/xuelongqy/flutter_easy_refresh/pull/562).
> feat: ClassicIndicator add [progressIndicatorSize] and [progressIndicatorStrokeWidth].
> feat: Add CupertinoIndicator.
> fix: finishLoad asset [#563](https://github.com/xuelongqy/flutter_easy_refresh/pull/563).
## V 3.0.0+3
> fix: dart >=2.13.0.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/controller/controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class EasyRefreshController {
/// Finish the load task and return the result.
/// [result] Result of task completion.
void finishLoad([IndicatorResult result = IndicatorResult.success]) {
assert(controlFinishRefresh,
assert(controlFinishLoad,
'Please set controlFinishLoad to true, then use.');
_state?._footerNotifier._finishTask(result);
}
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.0.0+3
version: 3.0.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 7576cb7

Please sign in to comment.