Skip to content

Commit

Permalink
fix: Fixed a bug when searching during Listen.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathrunet committed Feb 4, 2023
1 parent 82df8dd commit 274ea7d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions packages/katana_model/example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.5.8"
version: "1.5.9"
lints:
dependency: transitive
description:
Expand Down Expand Up @@ -687,10 +687,10 @@ packages:
dependency: transitive
description:
name: tint
sha256: d856019547532d4ea24171f554b319081c004c37741e7946eae30cb09f24e1c7
sha256: "9652d9a589f4536d5e392cf790263d120474f15da3cf1bee7f1fdb31b4de5f46"
url: "https://pub.dev"
source: hosted
version: "2.0.0"
version: "2.0.1"
typed_data:
dependency: transitive
description:
Expand Down
1 change: 1 addition & 0 deletions packages/katana_model/lib/src/collection_base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ abstract class CollectionBase<TModel extends DocumentBase>
(subscription) => subscription.cancel(),
);
subscriptions.clear();
_value.clear();
}
if (modelQuery.adapter.availableListen) {
subscriptions.addAll(
Expand Down
4 changes: 2 additions & 2 deletions packages/katana_model/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -756,10 +756,10 @@ packages:
dependency: transitive
description:
name: tint
sha256: d856019547532d4ea24171f554b319081c004c37741e7946eae30cb09f24e1c7
sha256: "9652d9a589f4536d5e392cf790263d120474f15da3cf1bee7f1fdb31b4de5f46"
url: "https://pub.dev"
source: hosted
version: "2.0.0"
version: "2.0.1"
typed_data:
dependency: transitive
description:
Expand Down
8 changes: 4 additions & 4 deletions packages/katana_model_firestore/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,10 @@ packages:
dependency: "direct main"
description:
name: katana_model
sha256: "4d5db5f025bed98460e0deea908b56f10d65415a98ac58354f01baf85f2bb3c6"
sha256: aeabf0992fa9a35408f3fd10b6a9411d2f409eadb97d426164af7866eca27915
url: "https://pub.dev"
source: hosted
version: "1.5.8"
version: "1.5.9"
lints:
dependency: transitive
description:
Expand Down Expand Up @@ -665,10 +665,10 @@ packages:
dependency: transitive
description:
name: tint
sha256: d856019547532d4ea24171f554b319081c004c37741e7946eae30cb09f24e1c7
sha256: "9652d9a589f4536d5e392cf790263d120474f15da3cf1bee7f1fdb31b4de5f46"
url: "https://pub.dev"
source: hosted
version: "2.0.0"
version: "2.0.1"
typed_data:
dependency: transitive
description:
Expand Down

0 comments on commit 274ea7d

Please sign in to comment.