~aleteoryx/muditaos

f07aec9e031a2de03e32bcbb54c78fe80198533d — Adam Wulkiewicz 3 years ago 357ae2d
[BH-1603] Fix end transition in relaxation

Go back to app menu instead of home screen.
M products/BellHybrid/apps/application-bell-relaxation/presenter/RelaxationEndedPresenter.cpp => products/BellHybrid/apps/application-bell-relaxation/presenter/RelaxationEndedPresenter.cpp +4 -2
@@ 1,11 1,11 @@
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#include "ApplicationBellRelaxation.hpp"
#include "presenter/RelaxationEndedPresenter.hpp"

#include <Application.hpp>
#include <service-appmgr/Controller.hpp>
#include <application-bell-main/ApplicationBellMain.hpp>

namespace app::relaxation
{


@@ 15,6 15,8 @@ namespace app::relaxation
    void RelaxationEndedPresenter::activate()
    {
        app::manager::Controller::sendAction(
            app, app::manager::actions::Launch, std::make_unique<app::ApplicationLaunchData>(app::applicationBellName));
            app,
            app::manager::actions::Launch,
            std::make_unique<app::ApplicationLaunchData>(app::applicationBellRelaxationName));
    }
} // namespace app::relaxation