Skip to content

Commit

Permalink
Fix for #306. Actual issue, the suggestion overlay not getting hidden…
Browse files Browse the repository at this point in the history
… on 24 words list
  • Loading branch information
saiy2k committed Sep 12, 2024
1 parent cf2cb77 commit e8796a8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/import/recover.dart
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ class _ImportWordTextFieldState extends State<ImportWordTextField> {
});
widget.focusNode.unfocus();
widget.returnClicked(widget.index);
hideOverlay();
},
onEnter: () {
context.read<ImportWalletCubit>().clearUntappedWords();
Expand Down
1 change: 0 additions & 1 deletion lib/network/bloc/network_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ class NetworkCubit extends Cubit<NetworkState> {
'Pls check testnet electrum URL. Cannot connect to electrum',
),
);
return;
}

final index =
Expand Down
1 change: 1 addition & 0 deletions lib/network/popup.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class NetworkPopup extends StatelessWidget {
current.networkConnected == true &&
current.errLoadingNetworks.isEmpty,
listener: (context, state) async {
await Future.delayed(const Duration(seconds: 2));
context.pop();
},
child: BlocProvider.value(
Expand Down

0 comments on commit e8796a8

Please sign in to comment.