mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[UX] SSH: double info dialog timeout (#4417)
I tried to actually use this feature and five seconds isn't enough time to register the relevant IP:port to connect. I'd add a menu item to call up the info (without a timeout) but this is just a web interface quickie.
This commit is contained in:
@@ -65,7 +65,7 @@ function SSH:start()
|
||||
logger.dbg("[Network] Launching SSH server : ", cmd)
|
||||
if os.execute(cmd) == 0 then
|
||||
local info = InfoMessage:new{
|
||||
timeout = 5,
|
||||
timeout = 10,
|
||||
text = string.format("%s %s \n %s",
|
||||
_("SSH port: "), self.SSH_port,
|
||||
Device.retrieveNetworkInfo and Device:retrieveNetworkInfo() or _("Could not retrieve network info.")),
|
||||
|
||||
Reference in New Issue
Block a user