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:
Nick
2019-10-21 22:54:29 +10:30
committed by Frans de Jonge
parent daacb84114
commit ef22e85469
9 changed files with 47 additions and 23 deletions

View File

@@ -55,6 +55,16 @@ if Device:setDateTime() then
common_settings.time = {
text = _("Time and date"),
sub_item_table = {
{
text = _("12-hour clock"),
keep_menu_open = true,
checked_func = function()
return G_reader_settings:nilOrTrue("twelve_hour_clock")
end,
callback = function()
G_reader_settings:flipNilOrTrue("twelve_hour_clock")
end,
},
{
text = _("Set time"),
keep_menu_open = true,