From ddfa90ff22941032fe38137c6f8399cffbcef61c Mon Sep 17 00:00:00 2001 From: Javed Hussein Date: Mon, 19 Jul 2021 13:53:49 -0400 Subject: [PATCH] fix(arconnect): call loading state after connect (#167) PE-56 --- lib/blocs/profile_add/profile_add_cubit.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/blocs/profile_add/profile_add_cubit.dart b/lib/blocs/profile_add/profile_add_cubit.dart index 45679615fb..73598d8f45 100644 --- a/lib/blocs/profile_add/profile_add_cubit.dart +++ b/lib/blocs/profile_add/profile_add_cubit.dart @@ -68,10 +68,10 @@ class ProfileAddCubit extends Cubit { Future pickWalletFromArconnect() async { try { + await arconnect.connect(); emit(ProfileAddUserStateLoadInProgress()); _profileType = ProfileType.ArConnect; - await arconnect.connect(); if (!(await arconnect.checkPermissions())) { emit(ProfileAddFailiure()); return;