def __resolveNovelty(self):
     showNovelty = not AccountSettings.getCounters(
         DEMOUNT_KIT_SEEN) and len(
             self.__goodiesCache.getDemountKits(
                 REQ_CRITERIA.DEMOUNT_KIT.IN_ACCOUNT
                 | REQ_CRITERIA.DEMOUNT_KIT.IS_ENABLED)) > 0
     if showNovelty != self.__showNovelty:
         self.__showNovelty = showNovelty
         self.onUpdated()
Example #2
0
 def getItemsStatus(args):
     items = args['f'](REQ_CRITERIA.DEMOUNT_KIT.IN_ACCOUNT | REQ_CRITERIA.DEMOUNT_KIT.IS_ENABLED)
     return not AccountSettings.getCounters(args['seen']) and items is not None and len(items)