1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00

fix(mobile) Disable autocorrection on endpoint URL (#1166)

This commit is contained in:
Alex 2022-12-22 14:29:48 -06:00 committed by GitHub
parent 2459eabb05
commit d3bc92c3f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ class LoginForm extends HookConsumerWidget {
child: ConstrainedBox(
constraints: const BoxConstraints(maxWidth: 300),
child: SingleChildScrollView(
child: AutofillGroup (
child: AutofillGroup(
child: Wrap(
spacing: 16,
runSpacing: 16,
@ -172,9 +172,10 @@ class LoginForm extends HookConsumerWidget {
horizontal: 16.0,
),
child: Divider(
color: Brightness.dark == Theme.of(context).brightness
? Colors.white
: Colors.black,
color:
Brightness.dark == Theme.of(context).brightness
? Colors.white
: Colors.black,
),
),
OAuthLoginButton(
@ -233,6 +234,7 @@ class ServerEndpointInput extends StatelessWidget {
focusNode: focusNode,
autofillHints: const [AutofillHints.url],
keyboardType: TextInputType.url,
autocorrect: false,
);
}
}