Skip to content

Commit

Permalink
Merge pull request #307 from jmlich/fintess-goal
Browse files Browse the repository at this point in the history
Compute Steps.maxY from fitnessGoal and allow lower goal
  • Loading branch information
piggz authored Nov 6, 2023
2 parents dc0aa13 + 587a6d9 commit cf13e02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/qml/pages/Settings-profile.qml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ PagePL {
SliderPL {
id: sldFitnessGoal
width: parent.width
minimumValue: 5000
minimumValue: 1000
maximumValue: 30000
stepSize: 100
label: qsTr("Goal (steps): ") + value
Expand Down
2 changes: 1 addition & 1 deletion ui/qml/pages/StepsPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ PagePL {
graphType: 2

minY: 0
maxY: 20000
maxY: 2 * AmazfishConfig.profileFitnessGoal
valueConverter: function(value) {
return value.toFixed(0);
}
Expand Down

0 comments on commit cf13e02

Please sign in to comment.