Skip to content

Commit 14b60ea

Browse files
SmithCharthnez
authored andcommitted
ui: help: Start first screen with a call to long-press
Showing users the help (aka quick-start) screen has shown that it's not clear to everyone that they have to long-press the lower button to actually switch to the next page of the help. This change adds an explicit call-to-action to long-press the lower button to the first page of help. And afterwards explains what this has done. This makes the help one page longer - but hopefully helps users discover the long-press feature a little quicker. Signed-off-by: Chris Fiege <[email protected]>
1 parent 995d166 commit 14b60ea

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/ui/screens/help.rs

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,25 @@ use crate::watched_tasks::WatchedTasksBuilder;
3232
const SCREEN_TYPE: AlertScreen = AlertScreen::Help;
3333
const PAGES: &[&str] = &[
3434
"Hey there!
35-
3635
A short guide on how
3736
this interface works:
37+
38+
Please long press the
39+
lower button to
40+
continue.
41+
...",
42+
"...
43+
3844
Long presses on the
3945
lower button perform
4046
actions.
47+
4148
...",
4249
"...
4350
4451
Short presses on the
4552
lower button toggle
46-
between actions.
53+
between options.
4754
4855
...",
4956
"...
@@ -171,7 +178,7 @@ impl ActiveScreen for Active {
171178
self.page.modify(|page| match (page.unwrap_or(0), up) {
172179
(0, true) => Some(0),
173180
(p, true) => Some(p - 1),
174-
(2, false) => Some(2),
181+
(3, false) => Some(3),
175182
(p, false) => Some(p + 1),
176183
});
177184
}

0 commit comments

Comments
 (0)