From 1d34fcbb129734907b9acd887236c4b26288151c Mon Sep 17 00:00:00 2001 From: Robert Date: Wed, 12 Sep 2018 21:02:14 +0200 Subject: [PATCH] Show hidden dirs in Choose Cloud and ZSync inbox (#4213) --- frontend/apps/cloudstorage/cloudstorage.lua | 1 + plugins/zsync.koplugin/main.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/frontend/apps/cloudstorage/cloudstorage.lua b/frontend/apps/cloudstorage/cloudstorage.lua index 945fc8456..ab913ec74 100644 --- a/frontend/apps/cloudstorage/cloudstorage.lua +++ b/frontend/apps/cloudstorage/cloudstorage.lua @@ -210,6 +210,7 @@ function CloudStorage:cloudFile(item, path) callback = function() require("ui/downloadmgr"):new{ title = _("Choose download directory"), + show_hidden = G_reader_settings:readSetting("show_hidden"), onConfirm = function(path_download) self.cs_settings:saveSetting("download_dir", path_download) self.cs_settings:flush() diff --git a/plugins/zsync.koplugin/main.lua b/plugins/zsync.koplugin/main.lua index 736f0ad75..4c11e4f88 100644 --- a/plugins/zsync.koplugin/main.lua +++ b/plugins/zsync.koplugin/main.lua @@ -230,6 +230,7 @@ function ZSync:subscribe() 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) zsync:onChooseInbox(inbox)