This commit is contained in:
Dão Gottwald 2019-02-26 16:37:29 +01:00
Родитель da30b51b1c
Коммит 6647cfd5ce
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -135,7 +135,7 @@ function LightweightThemeConsumer(aDocument) {
// We're responsible for notifying LightweightThemeManager when the OS is in
// dark mode so it can activate the dark theme. We don't want this on Linux
// as default theme picks up the right colors from dark GTK themes.
// as the default theme picks up the right colors from dark GTK themes.
if (AppConstants.platform != "linux") {
this._darkThemeMediaQuery = this._win.matchMedia("(-moz-system-dark-theme)");
this._darkThemeMediaQuery.addListener(this.LightweightThemeManager);