1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 04:49:21 +00:00

Update about dialog

This commit is contained in:
Pierre HUBERT 2021-04-30 18:37:03 +02:00
parent ffba5530ec
commit 979be989ac

View File

@ -1,6 +1,6 @@
import 'package:comunic/helpers/preferences_helper.dart'; import 'package:comunic/helpers/preferences_helper.dart';
import 'package:comunic/main.dart'; import 'package:comunic/main.dart';
import 'package:comunic/models/config.dart';
import 'package:comunic/ui/routes/full_screen_image.dart'; import 'package:comunic/ui/routes/full_screen_image.dart';
import 'package:comunic/ui/widgets/dialogs/auto_sized_dialog_content_widget.dart'; import 'package:comunic/ui/widgets/dialogs/auto_sized_dialog_content_widget.dart';
import 'package:comunic/ui/widgets/dialogs/cancel_dialog_button.dart'; import 'package:comunic/ui/widgets/dialogs/cancel_dialog_button.dart';
@ -268,10 +268,11 @@ bool isTablet(BuildContext context) =>
void showAboutAppDialog(BuildContext context) { void showAboutAppDialog(BuildContext context) {
showAboutDialog( showAboutDialog(
context: context, context: context,
applicationName: "Comunic", applicationName: config().appName,
children: <Widget>[ children: <Widget>[
Text( Text(
tr("Comunic is a free and OpenSource social network that respect your privacy."), config().appQuickDescription ??
tr("Comunic is a free and OpenSource social network that respect your privacy."),
textAlign: TextAlign.center, textAlign: TextAlign.center,
), ),
SizedBox( SizedBox(