copyeditting and updated order of main menu options
This commit is contained in:
parent
199c1ce655
commit
058f876146
3 changed files with 33 additions and 29 deletions
|
|
@ -3095,7 +3095,7 @@
|
|||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"learningSettings": "My Learning Settings",
|
||||
"learningSettings": "Learning settings",
|
||||
"classNameRequired": "Please enter a space name",
|
||||
"@classNameRequired": {
|
||||
"type": "text",
|
||||
|
|
|
|||
|
|
@ -41,30 +41,17 @@ class ClientChooserButton extends StatelessWidget {
|
|||
],
|
||||
),
|
||||
),
|
||||
PopupMenuItem(
|
||||
value: SettingsAction.learning,
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.psychology_outlined),
|
||||
const SizedBox(width: 18),
|
||||
Expanded(child: Text(L10n.of(context)!.learningSettings)),
|
||||
],
|
||||
),
|
||||
),
|
||||
// PopupMenuItem(
|
||||
// value: SettingsAction.newGroup,
|
||||
// child: Row(
|
||||
// children: [
|
||||
// const Icon(Icons.group_add_outlined),
|
||||
// const SizedBox(width: 18),
|
||||
// Text(L10n.of(context)!.createGroup),
|
||||
// ],
|
||||
// ),
|
||||
// ),
|
||||
// Pangea#
|
||||
PopupMenuItem(
|
||||
value: SettingsAction.newGroup,
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.group_add_outlined),
|
||||
const SizedBox(width: 18),
|
||||
// #Pangea
|
||||
Expanded(child: Text(L10n.of(context)!.createGroup)),
|
||||
// Text(L10n.of(context)!.createGroup),
|
||||
// Pangea#
|
||||
],
|
||||
),
|
||||
),
|
||||
PopupMenuItem(
|
||||
value: SettingsAction.newSpace,
|
||||
child: Row(
|
||||
|
|
@ -79,6 +66,16 @@ class ClientChooserButton extends StatelessWidget {
|
|||
),
|
||||
),
|
||||
// #Pangea
|
||||
PopupMenuItem(
|
||||
value: SettingsAction.learning,
|
||||
child: Row(
|
||||
children: [
|
||||
const Icon(Icons.psychology_outlined),
|
||||
const SizedBox(width: 18),
|
||||
Expanded(child: Text(L10n.of(context)!.learningSettings)),
|
||||
],
|
||||
),
|
||||
),
|
||||
// PopupMenuItem(
|
||||
// value: SettingsAction.setStatus,
|
||||
// child: Row(
|
||||
|
|
@ -306,9 +303,11 @@ class ClientChooserButton extends StatelessWidget {
|
|||
if (consent != OkCancelResult.ok) return;
|
||||
context.go('/rooms/settings/addaccount');
|
||||
break;
|
||||
case SettingsAction.newGroup:
|
||||
context.go('/rooms/newgroup');
|
||||
break;
|
||||
// #Pangea
|
||||
// case SettingsAction.newGroup:
|
||||
// context.go('/rooms/newgroup');
|
||||
// break;
|
||||
// Pangea#
|
||||
case SettingsAction.newSpace:
|
||||
controller.createNewSpace();
|
||||
break;
|
||||
|
|
@ -416,7 +415,9 @@ class ClientChooserButton extends StatelessWidget {
|
|||
|
||||
enum SettingsAction {
|
||||
addAccount,
|
||||
newGroup,
|
||||
// #Pangea
|
||||
// newGroup,
|
||||
// Pangea#
|
||||
newSpace,
|
||||
// #Pangea
|
||||
// setStatus,
|
||||
|
|
|
|||
|
|
@ -24,7 +24,10 @@ class NewGroupView extends StatelessWidget {
|
|||
onPressed: controller.loading ? null : Navigator.of(context).pop,
|
||||
),
|
||||
),
|
||||
title: Text(L10n.of(context)!.createGroup),
|
||||
// #Pangea
|
||||
// title: Text(L10n.of(context)!.createGroup),
|
||||
title: Text(L10n.of(context)!.newChat),
|
||||
// Pangea#
|
||||
),
|
||||
body: MaxWidthBody(
|
||||
child: Column(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue