@ -100,13 +100,16 @@ class ManagementNotAvailableWarning extends StatelessWidget {
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				        controller . subscriptionController . currentSubscriptionInfo ; 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				    String  getWarningText ( )  { 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				      final  DateFormat  formatter  =  DateFormat ( ' yyyy-MM-dd ' ) ; 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				      if  ( controller . currentSubscriptionIsTrial )  { 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				        return  L10n . of ( context ) . trialExpiration ( 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				      if  ( controller . currentSubscriptionIsPromotional )  { 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				        if  ( currentSubscriptionInfo ? . isLifetimeSubscription  ? ?  false )  { 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				          return  L10n . of ( context ) . promotionalSubscriptionDesc ; 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				        } 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				        final  DateFormat  formatter  =  DateFormat ( ' yyyy-MM-dd ' ) ; 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				        return  L10n . of ( context ) . promoSubscriptionExpirationDesc ( 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				          formatter . format ( currentSubscriptionInfo ! . expirationDate ! ) , 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				        ) ; 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				      } 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				      if  ( controller . currentSubscriptionAvailable )  { 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				        String  warningText  =  L10n . of ( context ) . subsciptionPlatformTooltip ; 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				        if  ( controller . purchasePlatformDisplayName  ! =  null )  { 
 
			
		 
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
			
			 
			 
			
				@ -115,16 +118,6 @@ class ManagementNotAvailableWarning extends StatelessWidget {
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				        } 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				        return  warningText ; 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				      } 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				      if  ( controller . currentSubscriptionIsPromotional )  { 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				        if  ( currentSubscriptionInfo ? . isLifetimeSubscription  ? ?  false )  { 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				          return  L10n . of ( context ) . promotionalSubscriptionDesc ; 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				        } 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				        return  L10n . of ( context ) . promoSubscriptionExpirationDesc ( 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				          formatter . format ( currentSubscriptionInfo ! . expirationDate ! ) , 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				        ) ; 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				      } 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				      return  L10n . of ( context ) . subscriptionManagementUnavailable ; 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				    }