WalletConnect / Web3ModalFlutter

The Web3Modal for WalletConnect built using Flutter.
https://pub.dev/packages/web3modal_flutter
Apache License 2.0
27 stars 30 forks source link

fix: use rootNavigator = true when close web3 modal #93

Closed mthinh closed 3 months ago

mthinh commented 3 months ago

Hi @quetool , I'm opening this pull request to resolve an issue when closeModal is called, The thing is we open the modal using rootNavigator = true, it means when we close the modal, we should use rootNavigator = true also, otherwise it may affect to current navigation stack, and returns a blank screen. Please help to take a look and resolve.

What ?

Why ?

reference: https://stackoverflow.com/questions/53723294/flutter-navigator-popcontext-returning-a-black-screen

quetool commented 3 months ago

Hello @mthinh! This is now merged! Thank you and sorry for the delay!