mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Font contrast: fix value in notification (#7934)
Fixes small issue noticed at https://github.com/koreader/koreader/discussions/7898#discussioncomment-962282
This commit is contained in:
@@ -266,7 +266,7 @@ function ReaderFont:onSetFontGamma(gamma)
|
||||
self.ui.document:setGammaIndex(self.gamma_index)
|
||||
local gamma_level = self.ui.document:getGammaLevel()
|
||||
self.ui:handleEvent(Event:new("RedrawCurrentView"))
|
||||
Notification:notify(T(_("Font gamma set to: %1."), optionsutil:getOptionText("SetFontGamma", gamma_level)))
|
||||
Notification:notify(T(_("Font gamma set to: %1."), gamma_level))
|
||||
return true
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user