Skip to content

Conversation

@ben-kaufman
Copy link
Contributor

Fixes #411

Description

This PR fixes a bug where lightning activities were not displayed on the spending wallet screen, even though they appeared in "show all".

The issue was a variable shadowing bug: let lightningActivities = ... created a local variable that shadowed the @Published class property, so the fetched activities were never assigned to the published property and the UI showed "No activity yet".

Linked Issues/Tasks

Screenshot / Video

N/A - bug fix

Fixes #411

The lightning activities were being assigned to a local variable
instead of the @published class property, causing them not to
display on the spending wallet screen.
@claude
Copy link

claude bot commented Jan 27, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@ben-kaufman
Copy link
Contributor Author

@piotr-iohk might be a good idea to add an e2e test for the activities list in savings and spending screens

Copy link
Collaborator

@piotr-iohk piotr-iohk left a comment

Choose a reason for hiding this comment

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

Tested, LGTM.
e2e tests updated to check activities displayed in spending balance screen.

@pwltr pwltr merged commit f7ee48e into master Jan 27, 2026
9 checks passed
@pwltr pwltr deleted the fix/lightning-activities-not-displayed branch January 27, 2026 17:48
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.

Activities not displayed on spending wallet screen

4 participants