Cosmetic improvements of homeserver and user inputs

Keyboard type for homeserver TextInput changed to url and trailing '/' with potential whitespaces is stripped.
Keyboard type for username changed to e-mail for convenience.

Should resolve: #34 and #64
This commit is contained in:
Katerina 2020-07-02 09:10:03 +00:00 committed by Christian Pauly
commit 6399a8f886
3 changed files with 22 additions and 12 deletions

View file

@ -131,6 +131,7 @@ class _LoginState extends State<Login> {
readOnly: loading,
autocorrect: false,
autofocus: true,
keyboardType: TextInputType.emailAddress,
onChanged: (t) => _checkWellKnownWithCoolDown(t, context),
controller: usernameController,
decoration: InputDecoration(