Merge "[apps/on_boarding] Dismiss the update pop up with any event"

This commit is contained in:
Émilie Feral
2017-05-15 14:09:50 +02:00
committed by Gerrit

View File

@@ -13,7 +13,7 @@ View * UpdateController::view() {
}
bool UpdateController::handleEvent(Ion::Events::Event event) {
if (event == Ion::Events::OK || event == Ion::Events::EXE) {
if (event != Ion::Events::Back) {
app()->dismissModalViewController();
AppsContainer * appsContainer = (AppsContainer *)app()->container();
appsContainer->switchTo(appsContainer->appAtIndex(0));