diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index 05946591b..10a159be6 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -5317,5 +5317,7 @@ "feedbackDialogDesc": "I make mistakes too! Anything to help me improve?", "getStartedFriendsButton": "Invite a friend", "contactHasBeenInvitedToTheCourse": "Contact has been invited to the course", - "inviteFriends": "Invite friends" + "inviteFriends": "Invite friends", + "allow": "Allow", + "deny": "Deny" } \ No newline at end of file diff --git a/lib/pangea/space_analytics/space_analytics_requested_dialog.dart b/lib/pangea/space_analytics/space_analytics_requested_dialog.dart index 399f5f294..1024cd28c 100644 --- a/lib/pangea/space_analytics/space_analytics_requested_dialog.dart +++ b/lib/pangea/space_analytics/space_analytics_requested_dialog.dart @@ -66,30 +66,42 @@ class SpaceAnalyticsRequestedDialog extends StatelessWidget { ), padding: const EdgeInsets.all(16.0), child: Row( - spacing: 16.0, + spacing: 12.0, children: [ Expanded( child: ElevatedButton( + style: ElevatedButton.styleFrom( + padding: const EdgeInsets.symmetric( + horizontal: 20, + vertical: 16, + ), + ), onPressed: () => Navigator.of(context).pop(true), child: Row( - spacing: 10.0, + spacing: 12.0, mainAxisAlignment: MainAxisAlignment.center, children: [ const Icon(Symbols.approval_delegation), - Text(L10n.of(context).allowAccess), + Text(L10n.of(context).allow), ], ), ), ), Expanded( child: ElevatedButton( + style: ElevatedButton.styleFrom( + padding: const EdgeInsets.symmetric( + horizontal: 20, + vertical: 16, + ), + ), onPressed: () => Navigator.of(context).pop(false), child: Row( - spacing: 10.0, + spacing: 12.0, mainAxisAlignment: MainAxisAlignment.center, children: [ const Icon(Icons.visibility_off), - Text(L10n.of(context).denyAccess), + Text(L10n.of(context).deny), ], ), ),