Font contrast: fix value in notification (#7934)

Fixes small issue noticed at https://github.com/koreader/koreader/discussions/7898#discussioncomment-962282
pull/7941/head
poire-z 3 years ago committed by GitHub
parent 897622d4bb
commit a1d64de9b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save