fix some part of the screen not refreshed when togglering nightmode

pull/1408/head
chrox 9 years ago
parent e25ca27db3
commit 02d61115dc

@ -23,6 +23,7 @@ table.insert(common_settings, {
callback = function()
local night_mode = G_reader_settings:readSetting("night_mode") or false
Screen:toggleNightMode()
UIManager:setDirty(nil, "full")
G_reader_settings:saveSetting("night_mode", not night_mode)
end
})

Loading…
Cancel
Save