From e9eb999d51a01f055093054727a33712feeec0a0 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Wed, 3 Nov 2021 00:39:20 +0300 Subject: [PATCH] [DE] fix bug 53496 --- apps/documenteditor/main/app/controller/Viewport.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/documenteditor/main/app/controller/Viewport.js b/apps/documenteditor/main/app/controller/Viewport.js index 62cebe316..cde524a90 100644 --- a/apps/documenteditor/main/app/controller/Viewport.js +++ b/apps/documenteditor/main/app/controller/Viewport.js @@ -378,7 +378,7 @@ define([ menuItem.setVisible(current_dark); menuItem.$el.prev('.divider')[current_dark ? 'show' : 'hide'](); - menuItem.setChecked(current_dark); + menuItem.setChecked(Common.UI.Themes.isContentThemeDark()); } },