Skip to content

Commit

Permalink
Add steps number
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlich committed Mar 1, 2024
1 parent 7693126 commit cb3f5aa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions daemon/src/bipactivitydetailparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,17 @@ QString BipActivityDetailParser::toTCX()
out << "</Trackpoint>" << endl;
}
out << "</Track>" << endl;

//Steps
m = m_summary.metaData("steps");
if (m.key == "steps") {
out << "<Extensions>" << endl;
out << " <LX xmlns=\"http://www.garmin.com/xmlschemas/ActivityExtension/v2\">" << endl;
out << " <Steps>" << m.value << "</Steps>" << endl;
out << " </LX>" << endl;
out << "</Extensions>" << endl;
}

out << "</Lap>" << endl;

//Creator
Expand Down

0 comments on commit cb3f5aa

Please sign in to comment.