mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Add download link on deprecation dialog
This commit is contained in:
		@@ -60,16 +60,22 @@ class ServerDataConservationPolicy {
 | 
			
		||||
class ServerConfig {
 | 
			
		||||
  final Version minSupportedMobileVersion;
 | 
			
		||||
  final String termsURL;
 | 
			
		||||
  final String playStoreURL;
 | 
			
		||||
  final String androidDirectDownloadURL;
 | 
			
		||||
  final PasswordPolicy passwordPolicy;
 | 
			
		||||
  final ServerDataConservationPolicy dataConservationPolicy;
 | 
			
		||||
 | 
			
		||||
  const ServerConfig({
 | 
			
		||||
    @required this.minSupportedMobileVersion,
 | 
			
		||||
    @required this.termsURL,
 | 
			
		||||
    @required this.playStoreURL,
 | 
			
		||||
    @required this.androidDirectDownloadURL,
 | 
			
		||||
    @required this.passwordPolicy,
 | 
			
		||||
    @required this.dataConservationPolicy,
 | 
			
		||||
  })  : assert(minSupportedMobileVersion != null),
 | 
			
		||||
        assert(termsURL != null),
 | 
			
		||||
        assert(playStoreURL != null),
 | 
			
		||||
        assert(androidDirectDownloadURL != null),
 | 
			
		||||
        assert(passwordPolicy != null),
 | 
			
		||||
        assert(dataConservationPolicy != null);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user