From d5f5950d69781672fe850ca765181c2661095f72 Mon Sep 17 00:00:00 2001 From: AhsanAli Date: Tue, 16 Apr 2024 10:31:09 +0500 Subject: [PATCH] await the future actions --- easel/lib/easel_provider.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easel/lib/easel_provider.dart b/easel/lib/easel_provider.dart index eeda2901a6..e23ad12708 100644 --- a/easel/lib/easel_provider.dart +++ b/easel/lib/easel_provider.dart @@ -574,7 +574,7 @@ class EaselProvider extends ChangeNotifier { if (isCookBookCreated) { // this delay is added to wait the transaction is settle // on the blockchain - Future.delayed(const Duration(milliseconds: 800)); + await Future.delayed(const Duration(milliseconds: 800)); // get device cookbook id _cookbookId = repository.getCookbookId(); notifyListeners();