File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -250,12 +250,13 @@ void SystemTask::Work() {
250250 isDimmed = false ;
251251 break ;
252252 case Messages::TouchWakeUp: {
253- if (touchHandler.GetNewTouchInfo ()) {
253+ if (touchHandler.GetNewTouchInfo ()) {
254254 auto gesture = touchHandler.GestureGet ();
255- if (gesture != Pinetime::Drivers::Cst816S::Gestures::None and ((gesture == Pinetime::Drivers::Cst816S::Gestures::DoubleTap and
256- settingsController.isWakeUpModeOn (Pinetime::Controllers::Settings::WakeUpMode::DoubleTap)) or
257- (gesture == Pinetime::Drivers::Cst816S::Gestures::SingleTap and
258- settingsController.isWakeUpModeOn (Pinetime::Controllers::Settings::WakeUpMode::SingleTap)))) {
255+ if (gesture != Pinetime::Drivers::Cst816S::Gestures::None and
256+ ((gesture == Pinetime::Drivers::Cst816S::Gestures::DoubleTap and
257+ settingsController.isWakeUpModeOn (Pinetime::Controllers::Settings::WakeUpMode::DoubleTap)) or
258+ (gesture == Pinetime::Drivers::Cst816S::Gestures::SingleTap and
259+ settingsController.isWakeUpModeOn (Pinetime::Controllers::Settings::WakeUpMode::SingleTap)))) {
259260 GoToRunning ();
260261 }
261262 }
@@ -276,6 +277,8 @@ void SystemTask::Work() {
276277 if (settingsController.GetNotificationStatus () == Pinetime::Controllers::Settings::Notification::ON) {
277278 if (isSleeping && !isWakingUp) {
278279 GoToRunning ();
280+ } else {
281+ ReloadIdleTimer ();
279282 }
280283 displayApp.PushMessage (Pinetime::Applications::Display::Messages::NewNotification);
281284 }
You can’t perform that action at this time.
0 commit comments