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:
1 parent
897622d4bb
commit
a1d64de9b5
1 file changed
+1
-1
@@ -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