sfw_mode support for power off

This commit is contained in:
jbohack
2022-12-30 15:40:53 -05:00
parent ce9db8691f
commit 9042a963c4
2 changed files with 2 additions and 1 deletions
@@ -17,11 +17,12 @@ void power_settings_scene_power_off_on_enter(void* context) {
dialog_ex_set_header(dialog, "Turn Off Device?", 64, 2, AlignCenter, AlignTop);
if (settings->sfw_mode) {
dialog_ex_set_text(dialog, " I will be\nwaiting for\n you here", 78, 16, AlignLeft, AlignTop);
dialog_ex_set_icon(dialog, 21, 13, &I_Cry_dolph_55x52_sfw);
}
else {
dialog_ex_set_text(dialog, " I will be\nwaiting for\n you master", 78, 16, AlignLeft, AlignTop);
dialog_ex_set_icon(dialog, 21, 13, &I_Cry_dolph_55x52);
}
dialog_ex_set_icon(dialog, 21, 13, &I_Cry_dolph_55x52);
dialog_ex_set_left_button_text(dialog, "Back");
dialog_ex_set_right_button_text(dialog, "OFF");
dialog_ex_set_result_callback(dialog, power_settings_scene_power_off_dialog_callback);
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB