Skip to content

Commit 6b17dbf

Browse files
authored
Merge pull request #62 from SmithChart/help-user-feedback
ui: help: Start first screen with a call to long-press
2 parents 995d166 + 14b60ea commit 6b17dbf

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)