cleanup
This commit is contained in:
		
							parent
							
								
									48e4f8eea4
								
							
						
					
					
						commit
						d0f02d1ad6
					
				
					 3 changed files with 10 additions and 14 deletions
				
			
		|  | @ -62,6 +62,7 @@ class _LoginFormState extends State<LoginForm> { | |||
|               if (value!.isEmpty || !isValidUsername(name: value)) { | ||||
|                 return "user-id-not-valid".i18n(); | ||||
|               } | ||||
|               return null; | ||||
|             }, | ||||
|           ), | ||||
|           TextButton.icon( | ||||
|  | @ -128,9 +129,11 @@ class _AuthPageState extends State<AuthPage> { | |||
|                     } | ||||
|                   } | ||||
|                   return TextButton.icon( | ||||
|                       onPressed: null, | ||||
|                       icon: const Icon(Icons.check), | ||||
|                       label: Text("confirm-button".i18n())); | ||||
|                       onPressed: () { | ||||
|                         Navigator.pushReplacementNamed(context, "/"); | ||||
|                       }, | ||||
|                       icon: const Icon(Icons.arrow_forward), | ||||
|                       label: Text("confirm".i18n())); | ||||
|                 } else { | ||||
|                   return const CircularProgressIndicator(); | ||||
|                 } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue