SensehacK / health-sense

All in one Health App - Computer Science Capstone Project
https://sensehack.github.io/health-sense/
GNU General Public License v2.0
8 stars 3 forks source link

Inconvenience in changing Metric System #64

Closed ManasiTayade closed 3 years ago

ManasiTayade commented 4 years ago

Bug Report

Description of the bug!

Behavior

Current Behavior The Welcome page shows the data of the user, one of which is the weight data where the weight is displayed in lbs. Also, in the setting the user can change the the metric system to get their weight in kg by pressing the button ON but even after that the Welcome page doesn't show the weight in kg until the app is restarted.

Expected behavior/code The Welcome page should display the weight data in kgs once the user press the metric system button ON without needing to restart the app.

Steps to Reproduce

  1. Open the App
  2. Navigate to Settings
  3. Click the Metric System button ON
  4. Observe the bug

Possible Solution

Environment

Swift version(s): 5 OS: MacOS 10.15.3 Xcode version: 11.4.1 iOS: 13.4.1 Cocoapods version(s): [e.g. v1.0.0, v1.9.1] Branch: Status Continuous Build: (Pass) - TravisCI / Github Actions How you are using App build: Xcode run

Other information

Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.

Additional context/Screenshots Add any other context about the problem here. If applicable, add screenshots to help explain.