Skip to content

Commit 70df144

Browse files
authored
Merge pull request #7 from Smidds/master
Set loading to true on rebuild
2 parents 11b329c + baa3e53 commit 70df144

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/src/core/observable_query.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ class ObservableQuery {
5050

5151
void onListen() {
5252
if (options.fetchResults) {
53+
controller.add(
54+
QueryResult(
55+
loading: true,
56+
),
57+
);
5358
fetchResults();
5459
}
5560
}

0 commit comments

Comments
 (0)