diff options
| author | Jean-François Milants <jf@codingfield.com> | 2021-08-28 13:10:14 (GMT) |
|---|---|---|
| committer | Jean-François Milants <jf@codingfield.com> | 2021-08-28 13:10:14 (GMT) |
| commit | 0313277ae604bb46987cdfbef123b7edfeb8ab9e (patch) | |
| tree | 393b5cda7c723ec3df1e19e2a60a422990483d71 /src | |
| parent | f895da8634f2843b9c2da330f07c94d2da8b4ec1 (diff) | |
Fix touchinfo typo in SystemTask.
Diffstat (limited to 'src')
| -rw-r--r-- | src/systemtask/SystemTask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemtask/SystemTask.cpp b/src/systemtask/SystemTask.cpp index 08e2199..03bf670 100644 --- a/src/systemtask/SystemTask.cpp +++ b/src/systemtask/SystemTask.cpp @@ -241,7 +241,7 @@ void SystemTask::Work() { break; case Messages::TouchWakeUp: { auto touchInfo = touchPanel.GetTouchInfo(); - if (touchInfo.isTouch and ((touchInfo.gesture == Pinetime::Drivers::Cst816S::Gestures::DoubleTap and + if (touchInfo.touching and ((touchInfo.gesture == Pinetime::Drivers::Cst816S::Gestures::DoubleTap and settingsController.isWakeUpModeOn(Pinetime::Controllers::Settings::WakeUpMode::DoubleTap)) or (touchInfo.gesture == Pinetime::Drivers::Cst816S::Gestures::SingleTap and settingsController.isWakeUpModeOn(Pinetime::Controllers::Settings::WakeUpMode::SingleTap)))) { |
