forked from FOSS/BangleApps
9 lines
167 B
JavaScript
9 lines
167 B
JavaScript
|
{
|
||
|
const resetTimer = alarm => {
|
||
|
if (alarm.timer) alarm.timer = alarm.data.ot;
|
||
|
};
|
||
|
|
||
|
Bangle.on("alarmSnooze", resetTimer);
|
||
|
Bangle.on("alarmDismiss", resetTimer);
|
||
|
}
|