Skip to content

Conversation

@rolznz
Copy link
Contributor

@rolznz rolznz commented Mar 26, 2025

Even if the user has 1 channel there's no need to close it when they could swap instead

@rolznz rolznz added this to the v1.16.0 milestone Mar 26, 2025
Copy link
Member

@im-adithya im-adithya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK, but just faced another issue (unrelated to the changes in this PR). If you open the Swap In modal and then close it and try to open it again, it doesn't work (since we are already on /channels?swap=true)

@rolznz
Copy link
Contributor Author

rolznz commented Mar 27, 2025

Ah, this also does not work well. Thanks for catching this @im-adithya

I pushed a fix

@rolznz rolznz merged commit dee4e14 into master Mar 27, 2025
11 checks passed
@rolznz rolznz deleted the fix/close-channel-always-show-swap-alert branch March 27, 2025 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants