From 22db564b9af135c50b7728910a00ae3fba4c9275 Mon Sep 17 00:00:00 2001 From: Daniel Hurd Date: Wed, 25 Dec 2024 17:20:26 +1300 Subject: [PATCH] centering up the text in the permission dialog --- mobile/lib/services/download.service.dart | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mobile/lib/services/download.service.dart b/mobile/lib/services/download.service.dart index c517738b01..9ce98a8462 100644 --- a/mobile/lib/services/download.service.dart +++ b/mobile/lib/services/download.service.dart @@ -212,8 +212,14 @@ class DownloadService { context: context, builder: (context) { return AlertDialog( - title: const Text('permission_onboarding_request').tr(), - content: const Text('permission_onboarding_permission_denied').tr(), + title: const Text( + 'permission_onboarding_request', + textAlign: TextAlign.center, + ).tr(), + content: const Text( + 'permission_onboarding_permission_denied', + textAlign: TextAlign.center, + ).tr(), actions: [ TextButton( onPressed: () => Navigator.pop(context, false),