add vibration toggle
This commit is contained in:
parent
7ab153cd76
commit
1e2cc3ce91
4 changed files with 16 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ void SystemTask::Work() {
|
|||
break;
|
||||
case Messages::OnNewNotification:
|
||||
if(isSleeping && !isWakingUp) GoToRunning();
|
||||
motorController.SetDuration(35);
|
||||
if(notificationManager.isVibrationEnabled()) motorController.SetDuration(35);
|
||||
displayApp->PushMessage(Pinetime::Applications::DisplayApp::Messages::NewNotification);
|
||||
break;
|
||||
case Messages::BleConnected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue