just in case

This commit is contained in:
MX
2025-03-28 14:01:54 +03:00
parent 02aa4041a6
commit 3e9bb38cd7
2 changed files with 6 additions and 0 deletions

View File

@@ -37,6 +37,9 @@ static uint32_t notification_settings_display_off_delay_ticks(NotificationApp* a
void night_shift_timer_start(NotificationApp* app) {
if(app->settings.night_shift != 1) {
if(furi_timer_is_running(app->night_shift_timer)) {
furi_timer_stop(app->night_shift_timer);
}
furi_timer_start(app->night_shift_timer, furi_ms_to_ticks(2000));
}
}