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

Incorrect Beacon Count Displayed in Group Card After Deletion and Creation of Beacons #230

Closed
vkprogrammer-001 opened this issue Feb 26, 2024 · 1 comment

Comments

@vkprogrammer-001
Copy link
Contributor

Describe the bug
The Beacon app is incorrectly displaying the total number of beacons in the group card. After deleting all beacons and creating new ones, the app is adding the count of the new beacons to the previous total, instead of updating the count to reflect the current number of beacons.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the 'Beacon' app.
  2. Create a certain number of beacons (e.g., 44).
  3. Delete a created beacon.
  4. Create a new set of beacons (e.g., 4).
  5. Check the total number of beacons displayed on the group card.

Expected behavior
The total number of beacons displayed on the group card should update to reflect the current number of beacons (e.g., 4), not the sum of the new and previously deleted beacons (e.g., 48).

Demonstration

Screen.Recording.2024-02-27.at.2.38.06.AM.mov

Environment

  • Device/emulator being used: Pixel 3a
  • OS (iOS/ Android); If Android then Android version: Android 13
  • Flutter version:3.16.9

Additional context
This issue seems to be related to how the app is updating and displaying the total count of beacons. It's possible that the deletion of beacons is not being properly accounted for in the total count.

Are you working on this issue? (Yes/No)
yes I love to work on this issue

@RunTerror
Copy link
Contributor

Hello @vkprogrammer-001 , I've actually resolved this issue in my PR (#227 ). I appreciate your understanding, and feel free to find another one to work on.

This issue was closed.
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

No branches or pull requests

2 participants