Skip to content

High performance self-hosted photo and video management solution.

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

Alexd3bc92c3f89d
diff --git a/mobile/lib/modules/login/ui/login_form.dart b/mobile/lib/modules/login/ui/login_form.dart
index 3e1f99ae5f..f9c5368347 100644
--- a/mobile/lib/modules/login/ui/login_form.dart
+++ b/mobile/lib/modules/login/ui/login_form.dart
@@ -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,
);
}
}