mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-22 05:14:46 -07:00
Merge branch 'dev' into dmit_dev
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
* NFC: Handle PPS request in ISO14443-4 layer (by @WillyJL)
|
* NFC: Handle PPS request in ISO14443-4 layer (by @WillyJL)
|
||||||
* NFC: Fixes to `READ_MULTI` and `GET_BLOCK_SECURITY` commands in ISO 15693-3 emulation (by @WillyJL & @aaronjamt)
|
* NFC: Fixes to `READ_MULTI` and `GET_BLOCK_SECURITY` commands in ISO 15693-3 emulation (by @WillyJL & @aaronjamt)
|
||||||
* Archive: Allow folders to be pinned (by @WillyJL)
|
* Archive: Allow folders to be pinned (by @WillyJL)
|
||||||
* Apps: Build tag (**3feb2026**) - **Check out more Apps updates and fixes by following** [this link](https://github.com/xMasterX/all-the-plugins/commits/dev)
|
* Apps: Build tag (**10feb2026**) - **Check out more Apps updates and fixes by following** [this link](https://github.com/xMasterX/all-the-plugins/commits/dev)
|
||||||
## Other changes
|
## Other changes
|
||||||
* Settings: Storage settings exit scenes properly if used via favourites (fixes issue #951)
|
* Settings: Storage settings exit scenes properly if used via favourites (fixes issue #951)
|
||||||
* LCD: Backlight settings bug fix (PR #962 | by @Dmitry422)
|
* LCD: Backlight settings bug fix (PR #962 | by @Dmitry422)
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ void power_settings_scene_power_off_on_enter(void* context) {
|
|||||||
dialog, " I will be\nwaiting for\n you here...", 78, 14, AlignLeft, AlignTop);
|
dialog, " I will be\nwaiting for\n you here...", 78, 14, AlignLeft, AlignTop);
|
||||||
dialog_ex_set_icon(dialog, 14, 10, &I_dolph_cry_49x54);
|
dialog_ex_set_icon(dialog, 14, 10, &I_dolph_cry_49x54);
|
||||||
}
|
}
|
||||||
dialog_ex_set_left_button_text(dialog, "Cancel");
|
dialog_ex_set_left_button_text(dialog, "Settings");
|
||||||
dialog_ex_set_right_button_text(dialog, "Power Off");
|
dialog_ex_set_right_button_text(dialog, "Power Off");
|
||||||
dialog_ex_set_result_callback(dialog, power_settings_scene_power_off_dialog_callback);
|
dialog_ex_set_result_callback(dialog, power_settings_scene_power_off_dialog_callback);
|
||||||
dialog_ex_set_context(dialog, app);
|
dialog_ex_set_context(dialog, app);
|
||||||
@@ -42,8 +42,7 @@ bool power_settings_scene_power_off_on_event(void* context, SceneManagerEvent ev
|
|||||||
if(event.type == SceneManagerEventTypeCustom) {
|
if(event.type == SceneManagerEventTypeCustom) {
|
||||||
if(event.event == DialogExResultLeft) {
|
if(event.event == DialogExResultLeft) {
|
||||||
if(!scene_manager_previous_scene(app->scene_manager)) {
|
if(!scene_manager_previous_scene(app->scene_manager)) {
|
||||||
scene_manager_stop(app->scene_manager);
|
scene_manager_next_scene(app->scene_manager, PowerSettingsAppSceneStart);
|
||||||
view_dispatcher_stop(app->view_dispatcher);
|
|
||||||
}
|
}
|
||||||
} else if(event.event == DialogExResultRight) {
|
} else if(event.event == DialogExResultRight) {
|
||||||
power_off(app->power);
|
power_off(app->power);
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ bool storage_settings_scene_benchmark_on_event(void* context, SceneManagerEvent
|
|||||||
switch(event.event) {
|
switch(event.event) {
|
||||||
case DialogExResultCenter:
|
case DialogExResultCenter:
|
||||||
if(app->from_favorites) {
|
if(app->from_favorites) {
|
||||||
storage_settings_scene_benchmark_on_exit(app);
|
scene_manager_stop(app->scene_manager);
|
||||||
view_dispatcher_stop(app->view_dispatcher);
|
view_dispatcher_stop(app->view_dispatcher);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
@@ -169,7 +169,7 @@ bool storage_settings_scene_benchmark_on_event(void* context, SceneManagerEvent
|
|||||||
} else if(event.type == SceneManagerEventTypeBack) {
|
} else if(event.type == SceneManagerEventTypeBack) {
|
||||||
if(sd_status == FSE_OK) {
|
if(sd_status == FSE_OK) {
|
||||||
if(app->from_favorites) {
|
if(app->from_favorites) {
|
||||||
storage_settings_scene_benchmark_on_exit(app);
|
scene_manager_stop(app->scene_manager);
|
||||||
view_dispatcher_stop(app->view_dispatcher);
|
view_dispatcher_stop(app->view_dispatcher);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ bool storage_settings_scene_benchmark_confirm_on_event(void* context, SceneManag
|
|||||||
case DialogExResultLeft:
|
case DialogExResultLeft:
|
||||||
case DialogExResultCenter:
|
case DialogExResultCenter:
|
||||||
if(app->from_favorites) {
|
if(app->from_favorites) {
|
||||||
storage_settings_scene_benchmark_confirm_on_exit(app);
|
scene_manager_stop(app->scene_manager);
|
||||||
view_dispatcher_stop(app->view_dispatcher);
|
view_dispatcher_stop(app->view_dispatcher);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ bool storage_settings_scene_factory_reset_on_event(void* context, SceneManagerEv
|
|||||||
case DialogExResultLeft:
|
case DialogExResultLeft:
|
||||||
scene_manager_set_scene_state(app->scene_manager, StorageSettingsFactoryReset, 0);
|
scene_manager_set_scene_state(app->scene_manager, StorageSettingsFactoryReset, 0);
|
||||||
if(app->from_favorites) {
|
if(app->from_favorites) {
|
||||||
storage_settings_scene_factory_reset_on_exit(app);
|
scene_manager_stop(app->scene_manager);
|
||||||
view_dispatcher_stop(app->view_dispatcher);
|
view_dispatcher_stop(app->view_dispatcher);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ bool storage_settings_scene_format_confirm_on_event(void* context, SceneManagerE
|
|||||||
case DialogExResultLeft:
|
case DialogExResultLeft:
|
||||||
case DialogExResultCenter:
|
case DialogExResultCenter:
|
||||||
if(app->from_favorites) {
|
if(app->from_favorites) {
|
||||||
storage_settings_scene_format_confirm_on_exit(app);
|
scene_manager_stop(app->scene_manager);
|
||||||
view_dispatcher_stop(app->view_dispatcher);
|
view_dispatcher_stop(app->view_dispatcher);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ bool storage_settings_scene_formatting_on_event(void* context, SceneManagerEvent
|
|||||||
switch(event.event) {
|
switch(event.event) {
|
||||||
case DialogExResultLeft:
|
case DialogExResultLeft:
|
||||||
if(app->from_favorites) {
|
if(app->from_favorites) {
|
||||||
storage_settings_scene_formatting_on_exit(app);
|
scene_manager_stop(app->scene_manager);
|
||||||
view_dispatcher_stop(app->view_dispatcher);
|
view_dispatcher_stop(app->view_dispatcher);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ bool storage_settings_scene_internal_info_on_event(void* context, SceneManagerEv
|
|||||||
switch(event.event) {
|
switch(event.event) {
|
||||||
case DialogExResultLeft:
|
case DialogExResultLeft:
|
||||||
if(app->from_favorites) {
|
if(app->from_favorites) {
|
||||||
storage_settings_scene_internal_info_on_exit(app);
|
scene_manager_stop(app->scene_manager);
|
||||||
view_dispatcher_stop(app->view_dispatcher);
|
view_dispatcher_stop(app->view_dispatcher);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ bool storage_settings_scene_sd_info_on_event(void* context, SceneManagerEvent ev
|
|||||||
case DialogExResultLeft:
|
case DialogExResultLeft:
|
||||||
case DialogExResultCenter:
|
case DialogExResultCenter:
|
||||||
if(app->from_favorites) {
|
if(app->from_favorites) {
|
||||||
storage_settings_scene_sd_info_on_exit(app);
|
scene_manager_stop(app->scene_manager);
|
||||||
view_dispatcher_stop(app->view_dispatcher);
|
view_dispatcher_stop(app->view_dispatcher);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ bool storage_settings_scene_unmount_confirm_on_event(void* context, SceneManager
|
|||||||
case DialogExResultCenter:
|
case DialogExResultCenter:
|
||||||
case DialogExResultLeft:
|
case DialogExResultLeft:
|
||||||
if(app->from_favorites) {
|
if(app->from_favorites) {
|
||||||
storage_settings_scene_unmount_confirm_on_exit(app);
|
scene_manager_stop(app->scene_manager);
|
||||||
view_dispatcher_stop(app->view_dispatcher);
|
view_dispatcher_stop(app->view_dispatcher);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ bool storage_settings_scene_unmounted_on_event(void* context, SceneManagerEvent
|
|||||||
switch(event.event) {
|
switch(event.event) {
|
||||||
case DialogExResultCenter:
|
case DialogExResultCenter:
|
||||||
if(app->from_favorites) {
|
if(app->from_favorites) {
|
||||||
storage_settings_scene_unmounted_on_exit(app);
|
scene_manager_stop(app->scene_manager);
|
||||||
view_dispatcher_stop(app->view_dispatcher);
|
view_dispatcher_stop(app->view_dispatcher);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user