Ask for confirmation before deletion from SD (#113)
* added awful way to confirm deletion * improve solution for asking for confirmation based on throw_error * fix COLOR_WHITE evaluating to -1 (outside the u32 range) * add confirmation for splash deletion
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#define INSTRUCTIONS_H
|
||||
|
||||
#include "draw.h"
|
||||
#include "colors.h"
|
||||
|
||||
Instructions_s normal_instructions[MODE_AMOUNT] = {
|
||||
{
|
||||
@@ -76,6 +77,7 @@ Instructions_s normal_instructions[MODE_AMOUNT] = {
|
||||
|
||||
Instructions_s install_instructions = {
|
||||
.info_line = L"Release \uE000 to cancel or hold \uE006 and release \uE000 to install",
|
||||
.info_line_color = COLOR_WHITE,
|
||||
.instructions = {
|
||||
{
|
||||
L"\uE079 Normal install",
|
||||
|
||||
Reference in New Issue
Block a user