mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Update application dependencies
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
import 'package:comunic/helpers/server_config_helper.dart';
 | 
			
		||||
import 'package:comunic/utils/intl_utils.dart';
 | 
			
		||||
import 'package:flutter/material.dart';
 | 
			
		||||
import 'package:url_launcher/url_launcher.dart';
 | 
			
		||||
import 'package:url_launcher/url_launcher_string.dart';
 | 
			
		||||
 | 
			
		||||
/// Deprecation dialog
 | 
			
		||||
///
 | 
			
		||||
@@ -22,12 +22,12 @@ class _DeprecationDialog extends StatelessWidget {
 | 
			
		||||
      actions: [
 | 
			
		||||
        MaterialButton(
 | 
			
		||||
          onPressed: () =>
 | 
			
		||||
              launch(ServerConfigurationHelper.config!.playStoreURL),
 | 
			
		||||
              launchUrlString(ServerConfigurationHelper.config!.playStoreURL),
 | 
			
		||||
          child: Text(tr("Go to the Play Store")!),
 | 
			
		||||
        ),
 | 
			
		||||
        MaterialButton(
 | 
			
		||||
          onPressed: () =>
 | 
			
		||||
              launch(ServerConfigurationHelper.config!.androidDirectDownloadURL),
 | 
			
		||||
          onPressed: () => launchUrlString(
 | 
			
		||||
              ServerConfigurationHelper.config!.androidDirectDownloadURL),
 | 
			
		||||
          child: Text(tr("Download update outside Play Store")!),
 | 
			
		||||
        ),
 | 
			
		||||
        MaterialButton(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user