diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-08-22 21:32:31 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-08-22 21:32:31 +0000 |
| commit | 8e97a40c700797819bf92c61398daff230404228 (patch) | |
| tree | f5b529fa4acea50092db7229724cbd02f845928b /src/boot/after_store.js | |
| parent | 4e2feae8686c7ff7cbaec35d0c8e07f0a696c2dd (diff) | |
| parent | a29835375a62549410a7df7922f8eb3f9b391487 (diff) | |
Merge branch 'allow-application-width-configuration' into 'develop'
Allow application width configuration
See merge request pleroma/pleroma-fe!1533
Diffstat (limited to 'src/boot/after_store.js')
| -rw-r--r-- | src/boot/after_store.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/boot/after_store.js b/src/boot/after_store.js index 908d905a..38b5f38e 100644 --- a/src/boot/after_store.js +++ b/src/boot/after_store.js @@ -12,7 +12,7 @@ import { windowWidth, windowHeight } from '../services/window_utils/window_utils import { getOrCreateApp, getClientToken } from '../services/new_api/oauth.js' import backendInteractorService from '../services/backend_interactor_service/backend_interactor_service.js' import { CURRENT_VERSION } from '../services/theme_data/theme_data.service.js' -import { applyTheme } from '../services/style_setter/style_setter.js' +import { applyTheme, applyConfig } from '../services/style_setter/style_setter.js' import FaviconService from '../services/favicon_service/favicon_service.js' let staticInitialResults = null @@ -360,6 +360,8 @@ const afterStoreSetup = async ({ store, i18n }) => { console.error('Failed to load any theme!') } + applyConfig(store.state.config) + // Now we can try getting the server settings and logging in // Most of these are preloaded into the index.html so blocking is minimized await Promise.all([ |
