Improve login flow a smidge by showing an error message and re-enabling the sign in button on failure

This commit is contained in:
2026-11-05 09:56:36 -06:00
parent 27b0d92ccf
commit f5e8055bf5
6 changed files with 54 additions and 3 deletions

View File

@@ -44,6 +44,12 @@ module W3DHubLauncher
MemCache[:servers].delete(game_server) if game_server
end
CyberarmEngine::EventBus.subscribe("application_changed") do |payload|
# pp payload
# SDL 3.6 required
# SDL.ShowNotification(NAME, "Application Changed Event", nil, nil, 0) #(payload["application"]["name"], payload["state"])
end
push_state(States::Boot)
# push_state(States::Interface)
end