diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-27 13:26:51 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-09-27 13:26:51 +0200 |
| commit | 0592fa2caf4f36b0091c113d2309f2b3f79eab48 (patch) | |
| tree | ab2fa9c6bd12ad64d4ec25d22565a3477460e31b /fsm.go | |
| parent | 010a9ce99fd7f17ece9d7b804c9b5f3ab30a2bed (diff) | |
FSM: Add loading server transition to main screen
Diffstat (limited to 'fsm.go')
| -rw-r--r-- | fsm.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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"}, }, |
