Skip to content

Commit

Permalink
Merge pull request #7 from Smidds/master
Browse files Browse the repository at this point in the history
Set loading to true on rebuild
  • Loading branch information
juicycleff committed Mar 25, 2019
2 parents 11b329c + baa3e53 commit 70df144
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/src/core/observable_query.dart
Expand Up @@ -50,6 +50,11 @@ class ObservableQuery {

void onListen() {
if (options.fetchResults) {
controller.add(
QueryResult(
loading: true,
),
);
fetchResults();
}
}
Expand Down

0 comments on commit 70df144

Please sign in to comment.