@@ 8,6 8,7 @@
* Fixed resetting meditation settings with deep press.
* Fixed bedside lamp in alarm application
+* Fixed back button behavior in Relaxation
### Added
#### PowerNap:
@@ 1,4 1,4 @@
-// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
+// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include "BGSoundsPausedWindow.hpp"
@@ 42,6 42,11 @@ namespace gui
application->returnToPreviousWindow();
return true;
}
+
+ if (inputEvent.isShortRelease(KeyCode::KEY_RF)) {
+ application->switchWindow(gui::name::window::main_window);
+ return true;
+ }
return AppWindow::onInput(inputEvent);
}
} // namespace gui