~aleteoryx/muditaos

00179ef57f0f9d47743e7fbe7a935f35d90ad6a0 — Marcin Zieliński 2 years ago c057799
[MOS-48] Shorten phone modes pop-up duration

From 3s to 1s
2 files changed, 8 insertions(+), 1 deletions(-)

M module-apps/apps-common/popups/HomeModesWindow.cpp
M pure_changelog.md
M module-apps/apps-common/popups/HomeModesWindow.cpp => module-apps/apps-common/popups/HomeModesWindow.cpp +7 -1
@@ 9,9 9,15 @@
#include <module-gui/gui/widgets/Arc.hpp>
#include <PhoneModes/Common.hpp>

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

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

M pure_changelog.md => pure_changelog.md +1 -0
@@ 6,6 6,7 @@
* Improved dialog with network via USSD
* Added serial number and timestamp to crashdump filename
* Changed order of starting services, ServiceDesktop moved to the back
* Shortened duration of phone modes pop-up from 3s to 1s

### Fixed
* Fixed not marking thread as read when new message arrives in the opened thread