chore: Follow up fixes new login design
This commit is contained in:
parent
0e5f2283f3
commit
9325f861af
2 changed files with 51 additions and 44 deletions
|
|
@ -34,9 +34,11 @@ class HomeserverPickerController extends State<HomeserverPicker> {
|
|||
|
||||
void _updateFocus() {
|
||||
if (benchmarkResults == null) _loadHomeserverList();
|
||||
setState(() {
|
||||
displayServerList = homeserverFocusNode.hasFocus;
|
||||
});
|
||||
if (homeserverFocusNode.hasFocus) {
|
||||
setState(() {
|
||||
displayServerList = true;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
void showServerInfo(HomeserverBenchmarkResult server) => showModalBottomSheet(
|
||||
|
|
@ -76,6 +78,7 @@ class HomeserverPickerController extends State<HomeserverPicker> {
|
|||
homeserverController.text = server;
|
||||
searchTerm = '';
|
||||
homeserverFocusNode.unfocus();
|
||||
displayServerList = false;
|
||||
});
|
||||
|
||||
/// Starts an analysis of the given homeserver. It uses the current domain and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue