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

Fix: Not displaying all transactions on button click #1517

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

devrahul-2508
Copy link
Contributor

Issue Fix

Fixes #1516

Screenshots

fix.mp4

Description

Added an extra check if the filter type is "All" then display all credit and debit transactions

  • Apply the AndroidStyle.xml style template to your code in Android Studio.

  • Run the unit tests with ./gradlew check to make sure you didn't break anything

  • If you have multiple commits please combine them into one commit by squashing them.

for (transaction in allTransactions!!) {
if (transaction.transactionType == type) {
filterTransactions.add(transaction)
if(type!=null){
Copy link
Member

Choose a reason for hiding this comment

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

I think someone while migrating java to kotlin have made this nullable but this would not be nullabe, please remove and format and update the PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@therajanmaurya I have updated the PR. Can u please check.

@devrahul-2508 devrahul-2508 reopened this Feb 20, 2024
@therajanmaurya therajanmaurya merged commit f5e482b into openMF:dev Feb 26, 2024
8 checks passed
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.

Bug: All transactions are not displayed when clicking "All" filter button
2 participants