mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
UI Changes (#5508)
* Changed File Browser text
KOReader looks nicer than KOReader File Browser,
* Remove the "page x of x" if only one page
Removes it from the bottom of the file browser
* Remove the "page x of x" if only one page
Removes it from the top menu, if there is only one page, why show page 1 of 1
* Renamed ~ to Home
Since the file browser can be considered "Home"
* Added 12 hour time option
Also tweaked the charging icon, ⚡ looks nicer than +, tweaked seperator between time and battery, - instead of @
This commit is contained in:
@@ -898,7 +898,11 @@ function Menu:updatePageInfo(select_number)
|
||||
self.selected = { x = 1, y = select_number }
|
||||
end
|
||||
-- update page information
|
||||
self.page_info_text:setText(util.template(_("page %1 of %2"), self.page, self.page_num))
|
||||
if self.page_num > 1 then
|
||||
self.page_info_text:setText(util.template(_("Page %1 of %2"), self.page, self.page_num))
|
||||
else
|
||||
self.page_info_text:setText("");
|
||||
end
|
||||
self.page_info_left_chev:showHide(self.page_num > 1)
|
||||
self.page_info_right_chev:showHide(self.page_num > 1)
|
||||
self.page_info_first_chev:showHide(self.page_num > 2)
|
||||
|
||||
Reference in New Issue
Block a user