Exemplo n.º 1
0
 def __onInfoBtnClick(self):
     self.__flowLogger.logInfoClick(
         source=self.__currentView,
         albumTab=self._tabCache.getCurrentYear(),
         rewardTab=self._tabCache.getRewardsTab(),
         selectedObject=NewYearNavigation.getCurrentObject())
     NewYearNavigation.showInfoView(showDefaultTabForced=True)
Exemplo n.º 2
0
 def __onOpenIntro(self):
     if self.__nyController.isPostEvent():
         self.viewModel.setIsIntroOpened(True)
     elif self.__isOwnView:
         self.__infoFlowLogger.logInfoClick()
         NewYearNavigation.showInfoView(
             previousViewAlias=ViewAliases.VEHICLES_VIEW)
         self.parentView.destroyWindow()
     else:
         self.__infoFlowLogger.logInfoClick()
         NewYearNavigation.showInfoView()