Draft: big refactor

This commit is contained in:
2025-09-16 16:03:27 +08:00
parent f527230f1e
commit c4f2b0af25
42 changed files with 684 additions and 215 deletions

View File

@@ -125,6 +125,7 @@ func (m *Login) Next(queue *[]*tea.Program) error {
if resp.StatusCode() == http.StatusOK {
m.Base.client.
SetBasicAuth(username, password)
m.Base.username = username
*queue = append(*queue,
tea.NewProgram(NewLobby(m.Base)))
} else {