mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-26 16:46:51 +08:00
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:
@ -350,6 +350,10 @@ class GitHostSetupScreenState extends State<GitHostSetupScreen> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void _startGitClone(BuildContext context) async {
|
void _startGitClone(BuildContext context) async {
|
||||||
|
setState(() {
|
||||||
|
gitCloneErrorMessage = "";
|
||||||
|
});
|
||||||
|
|
||||||
var appState = StateContainer.of(context).appState;
|
var appState = StateContainer.of(context).appState;
|
||||||
var basePath = appState.gitBaseDirectory;
|
var basePath = appState.gitBaseDirectory;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user