mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 09:28:36 -07:00
Only load notification settings on normal boot
This commit is contained in:
@@ -538,8 +538,10 @@ int32_t notification_srv(void* p) {
|
|||||||
UNUSED(p);
|
UNUSED(p);
|
||||||
NotificationApp* app = notification_app_alloc();
|
NotificationApp* app = notification_app_alloc();
|
||||||
|
|
||||||
if(!notification_load_settings(app)) {
|
if(furi_hal_is_normal_boot()) {
|
||||||
notification_save_settings(app);
|
if(!notification_load_settings(app)) {
|
||||||
|
notification_save_settings(app);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
notification_vibro_off();
|
notification_vibro_off();
|
||||||
|
|||||||
Reference in New Issue
Block a user