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"),
|
2021-08-27 10:44:39 +00:00
|
|
|
"icon": "profile"
|
2020-07-21 21:03:22 +00:00
|
|
|
}, {
|
|
|
|
"id": CONTACTS,
|
|
|
|
"text": qsTr("Contacts"),
|
2021-08-27 10:44:39 +00:00
|
|
|
"icon": "contact"
|
2020-07-21 21:03:22 +00:00
|
|
|
}, {
|
|
|
|
"id": ENS,
|
|
|
|
"text": qsTr("ENS usernames"),
|
2021-08-27 10:44:39 +00:00
|
|
|
"icon": "username"
|
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"),
|
2021-08-27 10:44:39 +00:00
|
|
|
"icon": "security"
|
2020-07-21 21:03:22 +00:00
|
|
|
}, {
|
|
|
|
"id": APPEARANCE,
|
|
|
|
"text": qsTr("Appearance"),
|
2021-08-27 10:44:39 +00:00
|
|
|
"icon": "appearance"
|
2020-07-21 21:03:22 +00:00
|
|
|
}, {
|
|
|
|
"id": SOUND,
|
|
|
|
"text": qsTr("Sound"),
|
2021-08-27 10:44:39 +00:00
|
|
|
"icon": "sound"
|
2020-07-21 21:03:22 +00:00
|
|
|
}, {
|
|
|
|
"id": LANGUAGE,
|
|
|
|
"text": qsTr("Language"),
|
2021-08-27 10:44:39 +00:00
|
|
|
"icon": "language"
|
2020-07-21 21:03:22 +00:00
|
|
|
}, {
|
|
|
|
"id": NOTIFICATIONS,
|
|
|
|
"text": qsTr("Notifications"),
|
2021-08-27 10:44:39 +00:00
|
|
|
"icon": "notification"
|
2020-07-21 21:03:22 +00:00
|
|
|
}, {
|
|
|
|
"id": SYNC_SETTINGS,
|
|
|
|
"text": qsTr("Sync settings"),
|
2021-08-27 10:44:39 +00:00
|
|
|
"icon": "mobile"
|
2020-07-21 21:03:22 +00:00
|
|
|
}, {
|
|
|
|
"id": DEVICES_SETTINGS,
|
|
|
|
"text": qsTr("Devices settings"),
|
2021-08-27 10:44:39 +00:00
|
|
|
"icon": "mobile"
|
2020-10-21 14:45:28 +00:00
|
|
|
}, {
|
|
|
|
"id": BROWSER_SETTINGS,
|
|
|
|
"text": qsTr("Browser settings"),
|
2021-08-27 10:44:39 +00:00
|
|
|
"icon": "browser",
|
2021-03-31 19:33:55 +00:00
|
|
|
"ifEnabled": "browser"
|
2020-10-21 14:45:28 +00:00
|
|
|
}, {
|
2020-07-21 21:03:22 +00:00
|
|
|
"id": ADVANCED,
|
|
|
|
"text": qsTr("Advanced"),
|
2021-08-27 10:44:39 +00:00
|
|
|
"icon": "settings"
|
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?"),
|
2021-08-27 10:44:39 +00:00
|
|
|
"icon": "help"
|
2020-07-21 21:03:22 +00:00
|
|
|
}, {
|
|
|
|
"id": ABOUT,
|
|
|
|
"text": qsTr("About"),
|
2021-08-27 10:44:39 +00:00
|
|
|
"icon": "info"
|
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-08-27 10:44:39 +00:00
|
|
|
"icon": "logout"
|
2020-07-21 21:03:22 +00:00
|
|
|
}]
|