WalletConnect / web3modal-swift

Apache License 2.0
56 stars 29 forks source link

Session disconnecting bug #57

Closed chocoford closed 8 months ago

chocoford commented 8 months ago

Describe the bug After manually calling Web3Modal.instance.disconnect(topic: ) or Web3Modal.instance.cleanup(), Web3Model.present() still remains in a state where the wallet is logged in.

SDK Version

To Reproduce Steps to reproduce the behavior: Just disconnect a seesion with the code below:

Web3Modal.instance.disconnect(topic: ...)

Then calling Web3Model.present(), the wallet info is still being displayed. But the output of print(Web3Modal.instance.getSessions()) showing it is empty.

Device (please complete the following information):

mooshee commented 8 months ago

Bump

llbartekll commented 8 months ago

hey @chocoford could you upgrade the sdk to the latest? the issue seems resolved

chocoford commented 8 months ago

Hello @llbartekll , Yes the problem has gone after updating to 1.3.1, thanks!

llbartekll commented 8 months ago

Great, closing then