fix: Behaviour of homeserver textfield

This commit is contained in:
Christian Pauly 2021-05-01 07:40:12 +02:00
commit 894e128e19
2 changed files with 5 additions and 2 deletions

View file

@ -29,7 +29,8 @@ class HomeserverPickerUI extends StatelessWidget {
padding: EdgeInsets.zero,
onChanged: (s) => controller.domain = s,
readOnly: !AppConfig.allowOtherHomeservers,
onSubmit: (_) => controller.checkHomeserverAction,
onSubmit: (_) => controller.checkHomeserverAction(),
unfocusOnClear: false,
),
elevation: 0,
),