~aleteoryx/muditaos

64ee37c0cd052fcf82557a52f42d3b6985e8880c — Lefucjusz 2 years ago dc48e6c
[MOS-980] Match volume popup timeout with phone modes popup

As title describes.
2 files changed, 10 insertions(+), 3 deletions(-)

M module-apps/apps-common/popups/VolumeWindow.cpp
M pure_changelog.md
M module-apps/apps-common/popups/VolumeWindow.cpp => module-apps/apps-common/popups/VolumeWindow.cpp +8 -2
@@ 1,4 1,4 @@
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
// Copyright (c) 2017-2023, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#include <module-gui/gui/input/InputEvent.hpp>


@@ 7,9 7,15 @@
#include "VolumeWindow.hpp"
#include "popups/data/PopupData.hpp"

namespace
{
    constexpr auto oneSecondTimeout = std::chrono::seconds{1};
}

namespace gui
{
    VolumeWindow::VolumeWindow(app::ApplicationCommon *app, const std::string &name) : WindowWithTimer(app, name)
    VolumeWindow::VolumeWindow(app::ApplicationCommon *app, const std::string &name)
        : WindowWithTimer(app, name, oneSecondTimeout)
    {
        buildInterface();
    }

M pure_changelog.md => pure_changelog.md +2 -1
@@ 18,6 18,7 @@
* Unified GUI flow for adding contact with number already present in another contact
* Decrease critical battery level from 10% to 5%
* Optimized E-Ink energy consumption
* Changed volume popup timeout to match phone modes popup

### Fixed



@@ 34,7 35,7 @@
* Fixed redundant logs about CSQ reporting mode
* Fixed adding USSD codes to phonebook
* Fixed slider-related crash on phone turn off
* Fixed problem with an unresponding device after playing specific WAV files.
* Fixed problem with an unresponsive device after playing specific WAV files.


## [1.7.0 2023-03-23]