Preview vibrations in settings

master
Salim Blume 2022-03-05 02:00:46 -06:00
parent 3a6009a963
commit dc154ade90
1 changed files with 3 additions and 0 deletions

View File

@ -69,6 +69,7 @@
format: v => vibPatterns[v]||"Off",
onchange: v => {
settings.notify.time.notification = vibTimes[v];
vibTimes[v].forEach((b) => Bangle.buzz(b));
saveSettings();
}
}
@ -78,6 +79,7 @@
format: v => vibPatterns[v]||"Off",
onchange: v => {
settings.notify.dist.notification = vibTimes[v];
vibTimes[v].forEach((b) => Bangle.buzz(b));
saveSettings();
}
}
@ -87,6 +89,7 @@
format: v => vibPatterns[v]||"Off",
onchange: v => {
settings.notify.steps.notification = vibTimes[v];
vibTimes[v].forEach((b) => Bangle.buzz(b));
saveSettings();
}
}