| 
					
				 | 
			
			
				@@ -19,7 +19,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private const int swipeDistance = 100; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private bool isOpen = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private int _actLimitChargeId = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private List<AdCfg> _adIds = new List<AdCfg>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private Vector2 _startPos; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private Vector2 _endPos; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -191,6 +191,11 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             EventAgent.AddEventListener(ConstMessage.STORY_LEVEL_CHANGE, CheckFunOpen); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             EventAgent.AddEventListener(ConstMessage.RED_CHANGE, UpdateRedDot); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             EventAgent.AddEventListener(ConstMessage.CHANGE_ROLE_HEAD, UpdateHead); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            EventAgent.AddEventListener(ConstMessage.RESET_DAILY_DATA, ResetDailyData); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private void ResetDailyData() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ViewManager.Show<MainUIView>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         protected override void OnShown() 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -819,7 +824,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             List<int> actListChargeIds = ActivityGlobalDataManager.Instance.GetActivityInfoIdsByType(ConstLimitTimeActivityType.ActLimitChargeId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             int actLimitChargeId = actListChargeIds.Count > 0 ? actListChargeIds[0] : 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (_actLimitChargeId != actLimitChargeId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (ActivityDataManager.Instance.lastActLimitChargeId != actLimitChargeId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 ActivityDataManager.Instance.actLimitChargeId = actLimitChargeId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _ui.m_btnDailyWelfare.target.visible = actLimitChargeId > 0 || 
			 |