Skip to content

Commit a292896

Browse files
committed
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.
1 parent 6e05ce7 commit a292896

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/screens/githostsetup_screens.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,10 @@ class GitHostSetupScreenState extends State<GitHostSetupScreen> {
350350
}
351351

352352
void _startGitClone(BuildContext context) async {
353+
setState(() {
354+
gitCloneErrorMessage = "";
355+
});
356+
353357
var appState = StateContainer.of(context).appState;
354358
var basePath = appState.gitBaseDirectory;
355359

0 commit comments

Comments
 (0)