summaryrefslogtreecommitdiffstats
path: root/wear_ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--wear_ui.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/wear_ui.cpp b/wear_ui.cpp
index 118e43508..e4473ba5c 100644
--- a/wear_ui.cpp
+++ b/wear_ui.cpp
@@ -61,13 +61,6 @@ void WearRecoveryUI::draw_background_locked() {
}
}
-static const char* SWIPE_HELP[] = {
- "Swipe up/down to move.",
- "Swipe left/right to select.",
- "",
- nullptr,
-};
-
void WearRecoveryUI::draw_screen_locked() {
draw_background_locked();
if (!show_text) {
@@ -76,6 +69,13 @@ void WearRecoveryUI::draw_screen_locked() {
SetColor(TEXT_FILL);
gr_fill(0, 0, gr_fb_width(), gr_fb_height());
+ // clang-format off
+ static std::vector<std::string> SWIPE_HELP = {
+ "Swipe up/down to move.",
+ "Swipe left/right to select.",
+ "",
+ };
+ // clang-format on
draw_menu_and_text_buffer_locked(SWIPE_HELP);
}
}
@@ -99,4 +99,4 @@ void WearRecoveryUI::StartMenu(const char* const* headers, const char* const* it
update_screen_locked();
}
pthread_mutex_unlock(&updateMutex);
-} \ No newline at end of file
+}