mirror of https://github.com/Lissy93/dashy.git
👔 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;
|
||||
}
|
||||
// Some settings have their own local storage keys, apply them here
|
||||
usersAppConfig.layout = localStorage[localStorageKeys.LAYOUT_ORIENTATION]
|
||||
|| appConfigFile.layout || defaultLayout;
|
||||
usersAppConfig.iconSize = localStorage[localStorageKeys.ICON_SIZE]
|
||||
|| appConfigFile.iconSize || defaultIconSize;
|
||||
usersAppConfig.layout = appConfigFile.layout
|
||||
|| localStorage[localStorageKeys.LAYOUT_ORIENTATION]
|
||||
|| defaultLayout;
|
||||
usersAppConfig.iconSize = appConfigFile.iconSize
|
||||
|| localStorage[localStorageKeys.ICON_SIZE]
|
||||
|| defaultIconSize;
|
||||
// Don't let users modify users locally
|
||||
if (appConfigFile.auth) usersAppConfig.auth = appConfigFile.auth;
|
||||
// All done, return final appConfig object
|
||||
|
|
Loading…
Reference in New Issue