Footer: add book authors item (#11999)

Closes #7642
This commit is contained in:
mergen3107
2024-06-16 07:18:38 -04:00
committed by GitHub
parent 251da45adf
commit a03195d524
2 changed files with 62 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ local util = require("util")
local _ = require("gettext")
-- Date at which the last migration snippet was added
local CURRENT_MIGRATION_DATE = 20240408
local CURRENT_MIGRATION_DATE = 20240616
-- Retrieve the date of the previous migration, if any
local last_migration_date = G_reader_settings:readSetting("last_migration_date", 0)
@@ -234,8 +234,9 @@ end
-- 20210518, ReaderFooter, https://github.com/koreader/koreader/pull/7702
-- 20210622, ReaderFooter, https://github.com/koreader/koreader/pull/7876
if last_migration_date < 20210622 then
logger.info("Performing one-time migration for 20210622")
-- 20240616, ReaderFooter, https://github.com/koreader/koreader/pull/11999
if last_migration_date < 20240616 then
logger.info("Performing one-time migration for 20240616")
local ReaderFooter = require("apps/reader/modules/readerfooter")
local settings = G_reader_settings:readSetting("footer", ReaderFooter.default_settings)