Repo Selection: Force the keyboard to close after selecting

It doesn't always close automatically
This commit is contained in:
Vishesh Handa
2021-01-22 10:53:02 +01:00
parent a60e2bbf2a
commit ad4788f1d8

View File

@ -260,6 +260,9 @@ class GitHostSetupScreenState extends State<GitHostSetupScreen> {
gitHost: _gitHost,
userInfo: _userInfo,
onDone: (GitHostRepo repo) {
// close keyboard
FocusManager.instance.primaryFocus?.unfocus();
setState(() {
_gitHostRepo = repo;
_pageCount = pos + 2;