1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-25 11:13:29 +00:00

Update application dependencies

This commit is contained in:
2022-06-11 15:04:11 +02:00
parent 2c44793def
commit bae83430ab
17 changed files with 168 additions and 140 deletions

View File

@ -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(