1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-12-26 12:58:51 +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/main.dart';
import 'package:comunic/models/config.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/cancel_dialog_button.dart';
@ -268,10 +268,11 @@ bool isTablet(BuildContext context) =>
void showAboutAppDialog(BuildContext context) {
showAboutDialog(
context: context,
applicationName: "Comunic",
applicationName: config().appName,
children: <Widget>[
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,
),
SizedBox(