[ActivityReminder] Remove a forgotten part of the old code
parent
a5085c93c2
commit
ffcf550bea
|
|
@ -25,9 +25,7 @@ function drawAlert() {
|
||||||
|
|
||||||
function run() {
|
function run() {
|
||||||
if (activityreminder.mustAlert(activityreminder_data, activityreminder_settings)) {
|
if (activityreminder.mustAlert(activityreminder_data, activityreminder_settings)) {
|
||||||
if (stepsArray[0] - stepsArray[stepsArray.length - 1] < activityreminder_settings.minSteps) {
|
drawAlert();
|
||||||
drawAlert();
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
eval(storage.read("activityreminder.settings.js"))(() => load());
|
eval(storage.read("activityreminder.settings.js"))(() => load());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue