diff --git a/lib/utils/ui_utils.dart b/lib/utils/ui_utils.dart index ad5a81d..594621a 100644 --- a/lib/utils/ui_utils.dart +++ b/lib/utils/ui_utils.dart @@ -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: [ 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(