forked from Cutlery/immich
		
	fix(mobile) Disable autocorrection on endpoint URL (#1166)
This commit is contained in:
		
							parent
							
								
									2459eabb05
								
							
						
					
					
						commit
						d3bc92c3f8
					
				@ -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