forked from Cutlery/immich
fix(mobile) Disable autocorrection on endpoint URL (#1166)
This commit is contained in:
parent
2459eabb05
commit
d3bc92c3f8
@ -94,7 +94,7 @@ class LoginForm extends HookConsumerWidget {
|
|||||||
child: ConstrainedBox(
|
child: ConstrainedBox(
|
||||||
constraints: const BoxConstraints(maxWidth: 300),
|
constraints: const BoxConstraints(maxWidth: 300),
|
||||||
child: SingleChildScrollView(
|
child: SingleChildScrollView(
|
||||||
child: AutofillGroup (
|
child: AutofillGroup(
|
||||||
child: Wrap(
|
child: Wrap(
|
||||||
spacing: 16,
|
spacing: 16,
|
||||||
runSpacing: 16,
|
runSpacing: 16,
|
||||||
@ -172,7 +172,8 @@ class LoginForm extends HookConsumerWidget {
|
|||||||
horizontal: 16.0,
|
horizontal: 16.0,
|
||||||
),
|
),
|
||||||
child: Divider(
|
child: Divider(
|
||||||
color: Brightness.dark == Theme.of(context).brightness
|
color:
|
||||||
|
Brightness.dark == Theme.of(context).brightness
|
||||||
? Colors.white
|
? Colors.white
|
||||||
: Colors.black,
|
: Colors.black,
|
||||||
),
|
),
|
||||||
@ -233,6 +234,7 @@ class ServerEndpointInput extends StatelessWidget {
|
|||||||
focusNode: focusNode,
|
focusNode: focusNode,
|
||||||
autofillHints: const [AutofillHints.url],
|
autofillHints: const [AutofillHints.url],
|
||||||
keyboardType: TextInputType.url,
|
keyboardType: TextInputType.url,
|
||||||
|
autocorrect: false,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user