summaryrefslogtreecommitdiff
path: root/src/displayapp/DisplayApp.cpp
diff options
context:
space:
mode:
authorJames A. Jerkins <evergreen@jamesjerkinscomputer.com>2021-11-01 15:12:25 -0500
committerJF <JF002@users.noreply.github.com>2021-12-09 21:14:16 +0100
commit1e4130a9cfe6e1385d83d93e544d1e1cd79f11f8 (patch)
treee8d8317feb38b6d39cf078839e5b9648dd7dac4f /src/displayapp/DisplayApp.cpp
parent62dbcbfc953a36202d96466563a8e71b8bd4ff65 (diff)
Fix for passkey screen scramble
When a passkey is displayed, screen on or off, and another passkey is displayed the screen may become scrambled. Fix the issue by insuring the whole screen is drawn every time.
Diffstat (limited to 'src/displayapp/DisplayApp.cpp')
-rw-r--r--src/displayapp/DisplayApp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/displayapp/DisplayApp.cpp b/src/displayapp/DisplayApp.cpp
index 08a76467..0a675c8f 100644
--- a/src/displayapp/DisplayApp.cpp
+++ b/src/displayapp/DisplayApp.cpp
@@ -215,6 +215,9 @@ void DisplayApp::Refresh() {
} else {
LoadApp(Apps::Alarm, DisplayApp::FullRefreshDirections::None);
}
+ case Messages::ShowPairingKey:
+ LoadApp(Apps::PassKey, DisplayApp::FullRefreshDirections::Up);
+ break;
case Messages::TouchEvent: {
if (state != States::Running) {
break;
@@ -289,9 +292,6 @@ void DisplayApp::Refresh() {
// Added to remove warning
// What should happen here?
break;
- case Messages::ShowPairingKey:
- LoadApp(Apps::PassKey, DisplayApp::FullRefreshDirections::Up);
- break;
}
}