From b0e698520f0be4e054b8f3d1feff694d1ddf1779 Mon Sep 17 00:00:00 2001 From: Steliyan Stoyanov Date: Tue, 29 Oct 2019 20:34:19 +0200 Subject: Add "adaptable dark mode" checkbox --- src/stores/ServicesStore.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/stores/ServicesStore.js') diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index f65faa5a5..3dd601bc3 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js @@ -115,6 +115,11 @@ export default class ServicesStore extends Store { () => this._shareSettingsWithServiceProcess(), ); + reaction( + () => this.stores.settings.app.adaptableDarkMode, + () => this._shareSettingsWithServiceProcess(), + ); + reaction( () => this.stores.settings.app.universalDarkMode, () => this._shareSettingsWithServiceProcess(), -- cgit v1.2.3-54-g00ecf