From a292896d5ae84039661e27cccf57d980f7f1443f Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Sun, 5 Jan 2020 17:39:13 +0100 Subject: [PATCH] Host Setup: Clear the clone error before starting a clone One could have a clone that failed and then we're trying again with some different values. The old error message is invalid. --- lib/screens/githostsetup_screens.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/screens/githostsetup_screens.dart b/lib/screens/githostsetup_screens.dart index d514c4a9..289a941b 100644 --- a/lib/screens/githostsetup_screens.dart +++ b/lib/screens/githostsetup_screens.dart @@ -350,6 +350,10 @@ class GitHostSetupScreenState extends State { } void _startGitClone(BuildContext context) async { + setState(() { + gitCloneErrorMessage = ""; + }); + var appState = StateContainer.of(context).appState; var basePath = appState.gitBaseDirectory;