Navigation menu: cleanup, use colons in menu (#8442)

This commit is contained in:
zwim
2021-11-21 18:47:00 +01:00
committed by GitHub
parent e56aae263a
commit 1d92ee19fb
3 changed files with 66 additions and 188 deletions

View File

@@ -109,8 +109,8 @@ ReaderBack.onViewRecalculate = ReaderBack._onViewPossiblyUpdated
ReaderBack.onPagePositionUpdated = ReaderBack._onViewPossiblyUpdated
function ReaderBack:onBack()
local back_in_reader = G_reader_settings:readSetting("back_in_reader") or "previous_location"
local back_to_exit = G_reader_settings:readSetting("back_to_exit") or "prompt"
local back_in_reader = G_reader_settings:readSetting("back_in_reader", "previous_location")
local back_to_exit = G_reader_settings:readSetting("back_to_exit", "prompt")
if back_in_reader == "previous_read_page" then
if #self.location_stack > 0 then