mirror of
https://github.com/mue/mue.git
synced 2026-07-08 21:24:57 +02:00
[New Feature] Created a "Apps" section to add more frequently visited website links like in Chrome. (#622)
* added apps links section to the navbar with settings to add and edit links in under navbar settings * translated to english US
This commit is contained in:
@@ -262,5 +262,13 @@
|
||||
{
|
||||
"name": "photoMap",
|
||||
"value": true
|
||||
},
|
||||
{
|
||||
"name": "appsEnabled",
|
||||
"value": false
|
||||
},
|
||||
{
|
||||
"name": "applinks",
|
||||
"value": "[]"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -136,6 +136,15 @@ export function loadSettings(hotreload) {
|
||||
);
|
||||
}
|
||||
|
||||
// If the extension got updated and the new app links default settings
|
||||
// were not set, set them
|
||||
if (localStorage.getItem('applinks') === null) {
|
||||
localStorage.setItem('applinks', JSON.stringify([]));
|
||||
}
|
||||
if (localStorage.getItem('appsEnabled') === null) {
|
||||
localStorage.setItem('showWelcome', false);
|
||||
}
|
||||
|
||||
// everything below this shouldn't run on a hot reload event
|
||||
if (hotreload === true) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user