From b0ca6c446cdd430fc30b887eaa8360b28ac1fef3 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 16 Apr 2024 10:53:44 +0200 Subject: Client FSM: Allow to go to Disconnected from OAuthStarted Useful when cancelling OAuth when on the connection screen --- client/fsm.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client/fsm.go b/client/fsm.go index 175b832..0102c22 100644 --- a/client/fsm.go +++ b/client/fsm.go @@ -116,6 +116,7 @@ func newFSM( StateOAuthStarted: FSMState{ Transitions: []FSMTransition{ {To: StateMain, Description: "Authorized"}, + {To: StateDisconnected, Description: "Cancel, was disconnected"}, }, }, StateGettingConfig: FSMState{ -- cgit v1.2.3