ServiceList patch, bump to 1.1.0+3

This commit is contained in:
Tobe O 2017-12-13 11:31:06 -05:00
parent c52a880489
commit e5fee69cdc
3 changed files with 8 additions and 7 deletions

View file

@ -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`.

View file

@ -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

View file

@ -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