Only load notification settings on normal boot

This commit is contained in:
Willy-JL
2023-04-30 19:08:31 +01:00
parent 32ed4d3b31
commit 1e5c351dd6

View File

@@ -538,9 +538,11 @@ int32_t notification_srv(void* p) {
UNUSED(p); UNUSED(p);
NotificationApp* app = notification_app_alloc(); NotificationApp* app = notification_app_alloc();
if(furi_hal_is_normal_boot()) {
if(!notification_load_settings(app)) { if(!notification_load_settings(app)) {
notification_save_settings(app); notification_save_settings(app);
} }
}
notification_vibro_off(); notification_vibro_off();
notification_sound_off(); notification_sound_off();