mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Cleanup downloadmgr titles (#4222)
This commit is contained in:
@@ -369,11 +369,7 @@ function NewsDownloader:removeNewsButKeepFeedConfig()
|
||||
end
|
||||
|
||||
function NewsDownloader:setCustomDownloadDirectory()
|
||||
UIManager:show(InfoMessage:new{
|
||||
text = _("To select a folder press down and hold it for 1 second.")
|
||||
})
|
||||
require("ui/downloadmgr"):new{
|
||||
title = _("Choose download directory"),
|
||||
onConfirm = function(path)
|
||||
logger.dbg("NewsDownloader: set download directory to: ", path)
|
||||
local news_downloader_settings = LuaSettings:open(("%s/%s"):format(DataStorage:getSettingsDir(), news_downloader_config_file))
|
||||
|
||||
@@ -192,11 +192,7 @@ function Send2Ebook:removeReadActicles()
|
||||
end
|
||||
|
||||
function Send2Ebook:setCustomDownloadDirectory()
|
||||
UIManager:show(InfoMessage:new{
|
||||
text = _("To select a folder press down and hold it for 1 second.")
|
||||
})
|
||||
require("ui/downloadmgr"):new{
|
||||
title = _("Choose download directory"),
|
||||
onConfirm = function(path)
|
||||
logger.dbg("Send2Ebook: set download directory to: ", path)
|
||||
send2ebook_settings:saveSetting(config_key_custom_dl_dir, ("%s/"):format(path))
|
||||
|
||||
@@ -229,7 +229,6 @@ function ZSync:subscribe()
|
||||
self.received = {}
|
||||
local zsync = self
|
||||
require("ui/downloadmgr"):new{
|
||||
title = _("Choose inbox by long-pressing"),
|
||||
show_hidden = G_reader_settings:readSetting("show_hidden"),
|
||||
onConfirm = function(inbox)
|
||||
G_reader_settings:saveSetting("inbox_dir", inbox)
|
||||
|
||||
Reference in New Issue
Block a user