harbour-boxing-timer/qml/pages/js/helpers.js

14 lines
312 B
JavaScript
Raw Normal View History

function pushPresetListPage() {
if (settings.presetsList().length > 0) {
pageStack.pushAttached(Qt.resolvedUrl("../PresetList.qml"))
}
}
2017-08-24 22:27:56 +02:00
function playPauseTimer() {
if (boxingTimer.isActive) {
boxingTimer.status = BoxingTimer.Pause
} else {
boxingTimer.restore()
}
}