ServiceList patch, bump to 1.1.0+3
This commit is contained in:
parent
c52a880489
commit
e5fee69cdc
3 changed files with 8 additions and 7 deletions
|
@ -1,3 +1,6 @@
|
|||
# 1.1.0+3
|
||||
* `ServiceList` no longer ignores empty `index` events.
|
||||
|
||||
# 1.1.0+2
|
||||
* Updated `ServiceList` to also fire on `index`.
|
||||
|
||||
|
|
|
@ -158,12 +158,10 @@ class ServiceList extends DelegatingList {
|
|||
// Index
|
||||
_subs.add(service.onIndexed.listen((data) {
|
||||
var items = asPaginated == true ? data['data'] : data;
|
||||
if (items.isNotEmpty) {
|
||||
this
|
||||
..clear()
|
||||
..addAll(items);
|
||||
_onChange.add(this);
|
||||
}
|
||||
this
|
||||
..clear()
|
||||
..addAll(items);
|
||||
_onChange.add(this);
|
||||
}));
|
||||
|
||||
// Created
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: angel_client
|
||||
version: 1.1.0+2
|
||||
version: 1.1.0+3
|
||||
description: Client library for the Angel framework.
|
||||
author: Tobe O <thosakwe@gmail.com>
|
||||
homepage: https://github.com/angel-dart/angel_client
|
||||
|
|
Loading…
Reference in a new issue