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
Open the App
Navigate to Settings
Click the Metric System button ON
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.
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
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.