mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Message font: "cfont" > "infofont"
1. Removed useless parameter self.face 2. Changed font face from "cfont" to "infofont"
This commit is contained in:
@@ -2,7 +2,6 @@ require "widget"
|
||||
require "font"
|
||||
|
||||
InfoMessage = {
|
||||
face = Font:getFace("infofont", 25)
|
||||
}
|
||||
|
||||
function InfoMessage:show(text,refresh_mode)
|
||||
@@ -22,7 +21,7 @@ function InfoMessage:show(text,refresh_mode)
|
||||
}),
|
||||
TextWidget:new({
|
||||
text = text,
|
||||
face = Font:getFace("cfont", 30)
|
||||
face = Font:getFace("infofont", 30)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user