From 36d28e7b06766166dc1b429dd6cb816359bfcc8c Mon Sep 17 00:00:00 2001 From: srgooglo Date: Tue, 15 Mar 2022 03:14:13 +0100 Subject: [PATCH] splitted to `account.profile` settings group --- packages/app/constants/settings/account.jsx | 16 ++++++++++++---- .../app/constants/settingsGroupsDecorator.json | 4 ++++ 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/packages/app/constants/settings/account.jsx b/packages/app/constants/settings/account.jsx index 88802f39..31b89140 100644 --- a/packages/app/constants/settings/account.jsx +++ b/packages/app/constants/settings/account.jsx @@ -85,16 +85,24 @@ export default [ "debounced": true, }, { - "id": "Avatar", - "group": "account.basicInfo", + "id": "avatar", + "group": "account.profile", "type": "ImageUpload", "icon": "Image", "title": "Avatar", "description": "Change your avatar", }, + { + "id": "cover", + "group": "account.profile", + "type": "ImageUpload", + "icon": "Image", + "title": "Cover", + "description": "Change your cover", + }, { "id": "primaryBadge", - "group": "account.basicInfo", + "group": "account.profile", "type": "Select", "icon": "Tag", "title": "Primary badge", @@ -102,7 +110,7 @@ export default [ }, { "id": "description", - "group": "account.basicInfo", + "group": "account.profile", "type": "TextArea", "icon": "Edit3", "title": "Description", diff --git a/packages/app/constants/settingsGroupsDecorator.json b/packages/app/constants/settingsGroupsDecorator.json index 4ae53ad4..0b45a512 100644 --- a/packages/app/constants/settingsGroupsDecorator.json +++ b/packages/app/constants/settingsGroupsDecorator.json @@ -18,5 +18,9 @@ "account.basicInfo": { "title": "Basic Information", "icon": "Info" + }, + "account.profile": { + "title": "Profile", + "icon": "Book" } } \ No newline at end of file