From 3663d3ea6ac32b39d25e74188aac5365b622c9af Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Fri, 12 Feb 2021 15:42:22 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20dark=20mode=20should=20pe?= =?UTF-8?q?rsist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/desktop/app/routes/application.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/desktop/app/routes/application.js b/ui/desktop/app/routes/application.js index d24608101..be807e246 100644 --- a/ui/desktop/app/routes/application.js +++ b/ui/desktop/app/routes/application.js @@ -32,6 +32,8 @@ export default class ApplicationRoute extends Route.extend( * origin so that the renderer's CSP can be rewritten to allow requests. */ beforeModel() { + const theme = this.session.get('data.theme'); + this.toggleTheme(theme); return this.origin.updateOrigin(); }