2020-07-21 21:03:22 +00:00
|
|
|
var PROFILE = 0
|
|
|
|
var CONTACTS = 1
|
|
|
|
var ENS = 2
|
|
|
|
var PRIVACY_AND_SECURITY = 3
|
|
|
|
var APPEARANCE = 4
|
|
|
|
var SOUND = 5
|
|
|
|
var LANGUAGE = 6
|
|
|
|
var NOTIFICATIONS = 7
|
|
|
|
var SYNC_SETTINGS = 8
|
|
|
|
var DEVICES_SETTINGS = 9
|
2020-10-21 14:45:28 +00:00
|
|
|
var BROWSER_SETTINGS = 10
|
|
|
|
var ADVANCED = 11
|
|
|
|
var NEED_HELP = 12
|
|
|
|
var ABOUT = 13
|
2021-03-16 14:54:34 +00:00
|
|
|
var SIGNOUT = 14
|
2020-07-21 21:03:22 +00:00
|
|
|
|
2021-03-14 16:05:18 +00:00
|
|
|
var mainMenuButtons = [{
|
2020-07-21 21:03:22 +00:00
|
|
|
"id": PROFILE,
|
|
|
|
"text": qsTr("My Profile"),
|
|
|
|
"filename": "myProfile.svg"
|
|
|
|
}, {
|
|
|
|
"id": CONTACTS,
|
|
|
|
"text": qsTr("Contacts"),
|
2020-08-28 19:09:00 +00:00
|
|
|
"filename": "contacts.svg"
|
2020-07-21 21:03:22 +00:00
|
|
|
}, {
|
|
|
|
"id": ENS,
|
|
|
|
"text": qsTr("ENS usernames"),
|
2020-08-28 19:09:00 +00:00
|
|
|
"filename": "ensUsernames.svg"
|
2021-03-14 16:05:18 +00:00
|
|
|
}]
|
|
|
|
|
|
|
|
var settingsMenuButtons = [{
|
2020-07-21 21:03:22 +00:00
|
|
|
"id": PRIVACY_AND_SECURITY,
|
|
|
|
"text": qsTr("Privacy and security"),
|
2020-08-28 19:09:00 +00:00
|
|
|
"filename": "security.svg"
|
2020-07-21 21:03:22 +00:00
|
|
|
}, {
|
|
|
|
"id": APPEARANCE,
|
|
|
|
"text": qsTr("Appearance"),
|
2020-08-28 19:09:00 +00:00
|
|
|
"filename": "appearance.svg"
|
2020-07-21 21:03:22 +00:00
|
|
|
}, {
|
|
|
|
"id": SOUND,
|
|
|
|
"text": qsTr("Sound"),
|
|
|
|
"filename": "sound.svg"
|
|
|
|
}, {
|
|
|
|
"id": LANGUAGE,
|
|
|
|
"text": qsTr("Language"),
|
|
|
|
"filename": "globe.svg"
|
|
|
|
}, {
|
|
|
|
"id": NOTIFICATIONS,
|
|
|
|
"text": qsTr("Notifications"),
|
2020-08-28 19:09:00 +00:00
|
|
|
"filename": "notifications.svg"
|
2020-07-21 21:03:22 +00:00
|
|
|
}, {
|
|
|
|
"id": SYNC_SETTINGS,
|
|
|
|
"text": qsTr("Sync settings"),
|
2020-08-28 19:09:00 +00:00
|
|
|
"filename": "sync.svg"
|
2020-07-21 21:03:22 +00:00
|
|
|
}, {
|
|
|
|
"id": DEVICES_SETTINGS,
|
|
|
|
"text": qsTr("Devices settings"),
|
2020-08-28 19:09:00 +00:00
|
|
|
"filename": "sync.svg"
|
2020-10-21 14:45:28 +00:00
|
|
|
}, {
|
|
|
|
"id": BROWSER_SETTINGS,
|
|
|
|
"text": qsTr("Browser settings"),
|
2021-03-31 19:33:55 +00:00
|
|
|
"filename": "../compassActive.svg",
|
|
|
|
"ifEnabled": "browser"
|
2020-10-21 14:45:28 +00:00
|
|
|
}, {
|
2020-07-21 21:03:22 +00:00
|
|
|
"id": ADVANCED,
|
|
|
|
"text": qsTr("Advanced"),
|
2020-08-28 19:09:00 +00:00
|
|
|
"filename": "advanced.svg"
|
2021-03-14 16:05:18 +00:00
|
|
|
}]
|
|
|
|
|
|
|
|
var extraMenuButtons = [{
|
2020-07-21 21:03:22 +00:00
|
|
|
"id": NEED_HELP,
|
|
|
|
"text": qsTr("Need help?"),
|
2020-08-28 19:09:00 +00:00
|
|
|
"filename": "help.svg"
|
2020-07-21 21:03:22 +00:00
|
|
|
}, {
|
|
|
|
"id": ABOUT,
|
|
|
|
"text": qsTr("About"),
|
2020-08-28 19:09:00 +00:00
|
|
|
"filename": "about.svg"
|
2021-03-16 14:54:34 +00:00
|
|
|
}, {
|
|
|
|
"id": SIGNOUT,
|
|
|
|
"function": "exit",
|
2021-03-16 14:56:09 +00:00
|
|
|
"text": qsTr("Sign out & Quit"),
|
2021-03-16 14:54:34 +00:00
|
|
|
"filename": "signout.svg"
|
2020-07-21 21:03:22 +00:00
|
|
|
}]
|