Ensure time > 0.

pull/1513/head
David Peer 2022-03-08 19:43:56 +01:00
parent ad84ec029b
commit 75e88bd587
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ Bangle.on('touch', function(btn, e){
}
Bangle.buzz(80, 0.6);
}
minutes = Math.max(0, minutes);
draw();
});