mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-27 15:44:27 +02:00
👔 Changes order item size is applied (#576)
This commit is contained in:
parent
cd50ceb0a0
commit
16aa14fcbb
@ -34,10 +34,12 @@ export default class ConfigAccumulator {
|
|||||||
usersAppConfig = appConfigFile;
|
usersAppConfig = appConfigFile;
|
||||||
}
|
}
|
||||||
// Some settings have their own local storage keys, apply them here
|
// Some settings have their own local storage keys, apply them here
|
||||||
usersAppConfig.layout = localStorage[localStorageKeys.LAYOUT_ORIENTATION]
|
usersAppConfig.layout = appConfigFile.layout
|
||||||
|| appConfigFile.layout || defaultLayout;
|
|| localStorage[localStorageKeys.LAYOUT_ORIENTATION]
|
||||||
usersAppConfig.iconSize = localStorage[localStorageKeys.ICON_SIZE]
|
|| defaultLayout;
|
||||||
|| appConfigFile.iconSize || defaultIconSize;
|
usersAppConfig.iconSize = appConfigFile.iconSize
|
||||||
|
|| localStorage[localStorageKeys.ICON_SIZE]
|
||||||
|
|| defaultIconSize;
|
||||||
// Don't let users modify users locally
|
// Don't let users modify users locally
|
||||||
if (appConfigFile.auth) usersAppConfig.auth = appConfigFile.auth;
|
if (appConfigFile.auth) usersAppConfig.auth = appConfigFile.auth;
|
||||||
// All done, return final appConfig object
|
// All done, return final appConfig object
|
||||||
|
Loading…
x
Reference in New Issue
Block a user