mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 12:59:21 +00:00
Update about dialog
This commit is contained in:
parent
ffba5530ec
commit
979be989ac
@ -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,9 +268,10 @@ 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(
|
||||||
|
config().appQuickDescription ??
|
||||||
tr("Comunic is a free and OpenSource social network that respect your privacy."),
|
tr("Comunic is a free and OpenSource social network that respect your privacy."),
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user