File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ final class SyncStatus {
121121 ///
122122 /// This returns null when the database is currently being opened and we
123123 /// don't have reliable information about all included streams yet.
124- Iterable <SyncStreamStatus >? get activeSubscriptions {
124+ Iterable <SyncStreamStatus >? get subscriptions {
125125 return _internalSubscriptions? .map ((subscription) {
126126 return SyncStreamStatus ._(subscription, downloadProgress);
127127 });
Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ void main() {
170170 status,
171171 emits (
172172 isSyncStatus (
173- activeSubscriptions : [
173+ subscriptions : [
174174 isStreamStatus (
175175 subscription: isSyncSubscription (
176176 name: 'default_stream' ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ TypeMatcher<SyncStatus> isSyncStatus({
88 Object ? connecting,
99 Object ? hasSynced,
1010 Object ? downloadProgress,
11- Object ? activeSubscriptions ,
11+ Object ? subscriptions ,
1212}) {
1313 var matcher = isA <SyncStatus >();
1414 if (downloading != null ) {
@@ -27,9 +27,9 @@ TypeMatcher<SyncStatus> isSyncStatus({
2727 matcher = matcher.having (
2828 (e) => e.downloadProgress, 'downloadProgress' , downloadProgress);
2929 }
30- if (activeSubscriptions != null ) {
31- matcher = matcher. having ((e) => e.activeSubscriptions,
32- 'activeSubscriptions ' , activeSubscriptions );
30+ if (subscriptions != null ) {
31+ matcher =
32+ matcher. having ((e) => e.subscriptions, 'subscriptions ' , subscriptions );
3333 }
3434
3535 return matcher;
You can’t perform that action at this time.
0 commit comments