From ccb9e602b9f52be588fbfcd34ab0497ec7146918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jo=C5=84ski?= Date: Tue, 23 Nov 2021 10:30:03 +0100 Subject: [PATCH] [BH-1232] Fix 2nd deep press info on onboarding screen Fix 2nd deep press info on onboarding screen --- .../ApplicationBellOnBoarding.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/products/BellHybrid/apps/application-bell-onboarding/ApplicationBellOnBoarding.cpp b/products/BellHybrid/apps/application-bell-onboarding/ApplicationBellOnBoarding.cpp index a7d845d338f35b169c7703d25be5ff38da71da61..20c691a6588b9da560edc3767eac53e6c6bbda8c 100644 --- a/products/BellHybrid/apps/application-bell-onboarding/ApplicationBellOnBoarding.cpp +++ b/products/BellHybrid/apps/application-bell-onboarding/ApplicationBellOnBoarding.cpp @@ -192,11 +192,8 @@ namespace app informationState = OnBoarding::InformationStates::DeepClickCorrectionInfo; displayInformation(msg->getWindowName()); } - if (selectedWindowCondition && informationState == OnBoarding::InformationStates::DeepClickCorrectionInfo) { - informationState = OnBoarding::InformationStates::RotateInfo; - } - - if (msg->getSenderWindowName() != gui::window::name::informationOnBoardingWindow) { + else if (selectedWindowCondition && + informationState == OnBoarding::InformationStates::DeepClickCorrectionInfo) { informationState = OnBoarding::InformationStates::RotateInfo; } }