Skip to content

Commit

Permalink
Merge pull request #254 from hypha-dao/bugfix/edit_account_name
Browse files Browse the repository at this point in the history
Fix for #251
  • Loading branch information
n13 authored Sep 7, 2023
2 parents 572f9b2 + 6652c5a commit b34dab3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/ui/onboarding/edit_account/edit_account_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:get/get.dart' as Get;
import 'package:get_it/get_it.dart';
import 'package:hypha_wallet/design/progress_indicator/hypha_full_page_progress_indicator.dart';
import 'package:hypha_wallet/ui/blocs/deeplink/deeplink_bloc.dart';
import 'package:hypha_wallet/ui/onboarding/create_account_success_page.dart';
import 'package:hypha_wallet/ui/onboarding/edit_account/components/edit_account_view.dart';
import 'package:hypha_wallet/ui/onboarding/edit_account/interactor/edit_account_bloc.dart';
Expand All @@ -28,6 +29,8 @@ class EditAccountPage extends StatelessWidget {
Navigator.of(context).pop();
},
navigateToSuccess: () {
/// Invite link data has been consumed. Clean it up
context.read<DeeplinkBloc>().add(const DeeplinkEvent.clearInviteLink());
Get.Get.to(
() => CreateAccountSuccessPage(
accountName: state.userAccount!,
Expand Down

0 comments on commit b34dab3

Please sign in to comment.