From b68e9a999e696ea0f5da38974e56dcc0fb3dfd34 Mon Sep 17 00:00:00 2001 From: Hank Grabowski Date: Tue, 27 Jun 2023 13:14:42 -0400 Subject: [PATCH] Change ObjectBox inserts to use queued instead of async --- lib/data/objectbox/objectbox_hashtag_repo.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/data/objectbox/objectbox_hashtag_repo.dart b/lib/data/objectbox/objectbox_hashtag_repo.dart index d3fccd2..8332ef4 100644 --- a/lib/data/objectbox/objectbox_hashtag_repo.dart +++ b/lib/data/objectbox/objectbox_hashtag_repo.dart @@ -18,7 +18,7 @@ class ObjectBoxHashtagRepo implements IHashtagRepo { @override void add(Hashtag tag) { - box.putAsync(tag); + box.putQueued(tag); } @override