Skip to content

Commit

Permalink
Update WorkoutTracking.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
cagnulein committed Jan 4, 2024
1 parent 7d30088 commit a95ab37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/WorkoutTracking.swift
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ extension WorkoutTracking: WorkoutTrackingProtocol {
@objc func addMetrics(power: Double, cadence: Double, speed: Double) {
print("GET DATA: \(Date())")

if(workoutInProgress == false) {
if(workoutInProgress == false && power > 0) {
startWorkOut()
}

Expand Down

0 comments on commit a95ab37

Please sign in to comment.