nutrition: decimals error in consumed water

Open Beginner friendly
#294 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 5 days

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
dart, flutter
Domain
mobile

Research direction

Start in the Nutrition Area, specifically the fast-add water widget, and locate the code that formats the consumed-water total. Reproduce the issue by adding a 0.25 L cup and confirm that the displayed total is rounded to one decimal. Adjust the decimal formatting and verify the widget shows the expected total with the relevant Flutter tests or by running the app.

Written by the indexing model from the issue text.

Description

bug

What's wrong?
When adding a cup of water with 0.25 L the total amount only gets shown with one decimal.

Where in the app (Train, Session, Progress, Library, Settings…):
Nutrition Area, fast adding water widget.

Dominant language
Dart
Stars
844
Forks
98
Avg merge
4d 4h
Merged PRs (30d)
4

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from InlitX/GymMane

All issues in InlitX/GymMane

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.