mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-30 19:36:25 +08:00
Setup: Reset state of some variables
That way if we go back and try to restart the previous errors are cleared.
This commit is contained in:
@ -72,6 +72,10 @@ class GitHostSetupScreenState extends State<GitHostSetupScreen> {
|
||||
onKnownGitHost: (GitHostType gitHostType) {
|
||||
setState(() {
|
||||
_gitHostType = gitHostType;
|
||||
gitCloneErrorMessage = "";
|
||||
_autoConfigureErrorMessage = "";
|
||||
_autoConfigureMessage = "";
|
||||
|
||||
_pageChoice[0] = PageChoice0.KnownProvider;
|
||||
_pageCount = pos + 2;
|
||||
_nextPage();
|
||||
|
Reference in New Issue
Block a user