mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[CRe] Tweak nightmode and CRe call cache interaction (#6859)
Simplify 4caf8f28 (#6854), allowing us not to track
nightmode in two places.
This commit is contained in:
@@ -108,7 +108,6 @@ function ReaderTypeset:onReadSettings(config)
|
||||
end
|
||||
self:toggleImageScaling(self.smooth_scaling)
|
||||
|
||||
self.ui.document:setNightMode(Screen.night_mode)
|
||||
-- default to automagic nightmode-friendly handling of images
|
||||
self.nightmode_images = config:readSetting("nightmode_images")
|
||||
if self.nightmode_images == nil then
|
||||
|
||||
Reference in New Issue
Block a user