mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2026-11-06 18:14:08 +00:00
Improve login flow a smidge by showing an error message and re-enabling the sign in button on failure
This commit is contained in:
@@ -68,10 +68,14 @@ module W3DHubLauncher
|
||||
# FIXME: Retry? Show error? ???
|
||||
pp settings_result
|
||||
end
|
||||
else
|
||||
dialog(
|
||||
Dialog::Alert,
|
||||
title: "Failed to sign in",
|
||||
message: "If you have failed 3 or more times in a row, wait about 15 minutes and try again."
|
||||
)
|
||||
btn.enabled = true
|
||||
end
|
||||
|
||||
# FIXME: Show error message!
|
||||
pp result
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user