Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not display LSP cannot open channel message when account is disconnected #646

Merged
merged 6 commits into from
Oct 4, 2023

Conversation

erdemyerebasmaz
Copy link
Collaborator

@erdemyerebasmaz erdemyerebasmaz commented Oct 3, 2023

This PR prevents LSP cannot open channel message when account isn't connected yet(where AccountState.connectionStatus is null or ConnectionStatus.disconnected).

Changelist:

  • Use AccountState.connectionStatus switch case to display StatusText widgets

    • Get AccountState & LspState from parent widget
  • Improve readability in ReceivableBTCBox by using isChannelOpeningAvailable variable

    • Passing OpeningFeeParams to FeeMessage when channel opening is available
  • Make _loadingMessage empty string by default

  • Correct typos in

    • isChannelOpeningAvailiable variable
    • annimated_loader_dialog.dart file name

    Other changelist:

  • Display ReverseSwapsInProgressPage when there are "reverse swaps in progress" 18cc62e)

  • Beautify SwapErrorMessage 736f325

  • Pass ReverseSwapFeesRequest to fetchReverseSwapFees 21d9d7e

  • Apply breez_bridge -> breez_sdk file renaming 53a22a0

…nected

Use AccountState.connectionStatus switch case to display StatusText widgets
- Get AccountState & LspState from parent widget

Improve readability in ReceivableBTCBox by using isChannelOpeningAvailable variable
- Passing OpeningFeeParams to FeeMessage when channel opening is available

Make _loadingMessage empty string by default

Correct typos in
- isChannelOpeningAvailiable variable
- annimated_loader_dialog file name
@erdemyerebasmaz erdemyerebasmaz added this to the v0.2.4 alpha(sdk) milestone Oct 3, 2023
@erdemyerebasmaz erdemyerebasmaz added the bug Something isn't working label Oct 3, 2023
Copy link
Contributor

@ubbabeck ubbabeck left a comment

Choose a reason for hiding this comment

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

LGMT

Copy link
Member

@roeierez roeierez left a comment

Choose a reason for hiding this comment

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

Small comment regarding the build.gradle, not sure if you wanted these changes.
Other than that LGTM.

signingConfig signingConfigs.release
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
Copy link
Member

Choose a reason for hiding this comment

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

Are the changes to this file part of the PR?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

They are intentional but was supposed to be on main branch. They revert

changes so we can keep building APK's via CI

Copy link
Collaborator Author

@erdemyerebasmaz erdemyerebasmaz Oct 4, 2023

Choose a reason for hiding this comment

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

Reverted as there's another open PR addressing this specifically:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants