From 0592fa2caf4f36b0091c113d2309f2b3f79eab48 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 27 Sep 2022 13:26:51 +0200 Subject: FSM: Add loading server transition to main screen --- fsm.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fsm.go b/fsm.go index 187e581..8f60605 100644 --- a/fsm.go +++ b/fsm.go @@ -107,8 +107,9 @@ func newFSM( STATE_NO_SERVER: FSMState{ Transitions: []FSMTransition{ {To: STATE_NO_SERVER, Description: "Reload list"}, - {To: STATE_CHOSEN_SERVER, Description: "User chooses a server"}, - {To: STATE_SEARCH_SERVER, Description: "The user is trying to choose a Server in the UI"}, + {To: STATE_LOADING_SERVER, Description: "User clicks a server in the UI"}, + {To: STATE_CHOSEN_SERVER, Description: "The server has been chosen"}, + {To: STATE_SEARCH_SERVER, Description: "The user is trying to choose a new server in the UI"}, {To: STATE_CONNECTED, Description: "The user is already connected"}, {To: STATE_ASK_LOCATION, Description: "Change the location in the main screen"}, }, -- cgit v1.2.3