fix: Homeserver readonly if conifg wants it

This commit is contained in:
Christian Pauly 2021-01-23 12:11:02 +01:00
commit 2f2cf60b7b
2 changed files with 8 additions and 3 deletions

View file

@ -71,6 +71,7 @@ class _HomeserverPickerState extends State<HomeserverPicker> {
suffix: Icon(Icons.edit_outlined),
padding: padding,
onChanged: (s) => _domain = s,
readOnly: !AppConfig.allowOtherHomeservers,
),
elevation: 0,
),