mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[UX] Set timeout for wifi result info message (#4371)
When Wifi is connected, the message "Connected." stays on the screen waiting for the user feedback. The change sets reasonable timeout for info message to disappear
This commit is contained in:
committed by
Frans de Jonge
parent
9be82da449
commit
063071fcdf
@@ -225,7 +225,7 @@ function NetworkItem:connect()
|
||||
end
|
||||
|
||||
self:refresh()
|
||||
UIManager:show(InfoMessage:new{text = text})
|
||||
UIManager:show(InfoMessage:new{text = text, timeout = 3})
|
||||
end
|
||||
|
||||
function NetworkItem:disconnect()
|
||||
|
||||
Reference in New Issue
Block a user