From 0237dee980157554ab2c9a79b6e9d10cec9e2f3a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 12 Dec 2019 20:09:43 +0300 Subject: implement automatic night mode detection using MQL add separate light.css to force light theme remove manual night mode toggle and related code --- js/tt-rss.js | 6 ------ 1 file changed, 6 deletions(-) (limited to 'js/tt-rss.js') diff --git a/js/tt-rss.js b/js/tt-rss.js index b127376c7..5e044625d 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -513,9 +513,6 @@ require(["dojo/_base/kernel", Headlines.renderAgain(); }); }; - this.hotkey_actions["toggle_night_mode"] = function () { - App.toggleNightMode(); - }; }, onActionSelected: function(opid) { switch (opid) { @@ -581,9 +578,6 @@ require(["dojo/_base/kernel", alert(__("Widescreen is not available in combined mode.")); } break; - case "qmcToggleNightMode": - App.toggleNightMode(); - break; case "qmcHKhelp": App.helpDialog("main"); break; -- cgit v1.2.3