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.
This commit is contained in:
Vishesh Handa
2020-01-05 17:39:13 +01:00
parent 6e05ce7f18
commit a292896d5a

View File

@ -350,6 +350,10 @@ class GitHostSetupScreenState extends State<GitHostSetupScreen> {
}
void _startGitClone(BuildContext context) async {
setState(() {
gitCloneErrorMessage = "";
});
var appState = StateContainer.of(context).appState;
var basePath = appState.gitBaseDirectory;