Skip to content

Commit

Permalink
fix(arconnect): call loading state after connect (#167)
Browse files Browse the repository at this point in the history
PE-56
  • Loading branch information
javdhu authored Jul 19, 2021
1 parent 72222da commit ddfa90f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/blocs/profile_add/profile_add_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ class ProfileAddCubit extends Cubit<ProfileAddState> {

Future<void> pickWalletFromArconnect() async {
try {
await arconnect.connect();
emit(ProfileAddUserStateLoadInProgress());
_profileType = ProfileType.ArConnect;

await arconnect.connect();
if (!(await arconnect.checkPermissions())) {
emit(ProfileAddFailiure());
return;
Expand Down

0 comments on commit ddfa90f

Please sign in to comment.