1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-06 03:46:47 +01: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

@ -172,7 +172,8 @@ class LoginForm extends HookConsumerWidget {
horizontal: 16.0,
),
child: Divider(
color: Brightness.dark == Theme.of(context).brightness
color:
Brightness.dark == Theme.of(context).brightness
? Colors.white
: Colors.black,
),
@ -233,6 +234,7 @@ class ServerEndpointInput extends StatelessWidget {
focusNode: focusNode,
autofillHints: const [AutofillHints.url],
keyboardType: TextInputType.url,
autocorrect: false,
);
}
}