Edited text/adjusted spacing so requested popup matches requesting popup
This commit is contained in:
parent
71577dc300
commit
858b2375f9
2 changed files with 20 additions and 6 deletions
|
|
@ -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"
|
||||
}
|
||||
|
|
@ -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),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue