Skip to content

[Bug]: Mobile app ignores Calculation Settings for Daily Energy Goal #1060

@estevez-dev

Description

@estevez-dev

Bug Description

Mobile app ignores Calculation Settings for Daily Energy Goal and always calculates remaining calories using the "Dynamic Goal" formula.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to the web UI
  2. Navigate to the Settings -> Calculation Settings
  3. Switch Daily Calorie Goal Adjustment to "Fixed Goal"
  4. Compare "remaining" in the mobile app and in the web dashboards.

Image

Image

Expected Behavior

The Daily Energy Goal graph should be the same on the web and in the app

Actual Behavior

The Daily Energy Goal graph is different in the mobile app and on the web.

Environment

  • SparkyFitness Version: 0.16.5.6
  • Running Env: Docker

Relevant Environment Variables (if applicable)

N/A

Preference Settings

Image

Browser Console Log

N/A

Container Log for SparkyFitness

N/A

Container Log for SparkyFitness_Server

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions