Skip to content

Commit baa3e53

Browse files
committed
Set loading to true on rebuild
1 parent 11b329c commit baa3e53

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)