mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-31 02:39:03 -04:00 
			
		
		
		
	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,9 +172,10 @@ class LoginForm extends HookConsumerWidget { | |||||||
|                             horizontal: 16.0, |                             horizontal: 16.0, | ||||||
|                           ), |                           ), | ||||||
|                           child: Divider( |                           child: Divider( | ||||||
|                             color: Brightness.dark == Theme.of(context).brightness |                             color: | ||||||
|                                 ? Colors.white |                                 Brightness.dark == Theme.of(context).brightness | ||||||
|                                 : Colors.black, |                                     ? Colors.white | ||||||
|  |                                     : Colors.black, | ||||||
|                           ), |                           ), | ||||||
|                         ), |                         ), | ||||||
|                         OAuthLoginButton( |                         OAuthLoginButton( | ||||||
| @ -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