Compare commits
	
		
			2 Commits
		
	
	
		
			e478552587
			...
			5fbc8bee42
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 5fbc8bee42 | |||
| 9c93ea1008 | 
							
								
								
									
										25
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,25 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    "version": "0.2.0",
 | 
				
			||||||
 | 
					    "configurations": [
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            "name": "zenith",
 | 
				
			||||||
 | 
					            "request": "launch",
 | 
				
			||||||
 | 
					            "type": "dart",
 | 
				
			||||||
 | 
					            "cwd": "${workspaceFolder}",
 | 
				
			||||||
 | 
					            "program": "${workspaceFolder}/lib/main.dart",
 | 
				
			||||||
 | 
					            "flutterMode": "debug"
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            "name": "zenith (profile mode)",
 | 
				
			||||||
 | 
					            "request": "launch",
 | 
				
			||||||
 | 
					            "type": "dart",
 | 
				
			||||||
 | 
					            "flutterMode": "profile"
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            "name": "zenith (release mode)",
 | 
				
			||||||
 | 
					            "request": "launch",
 | 
				
			||||||
 | 
					            "type": "dart",
 | 
				
			||||||
 | 
					            "flutterMode": "release"
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -32,6 +32,7 @@ class _LoginPageState extends State<LoginPage> {
 | 
				
			||||||
      print("Error signing in $error");
 | 
					      print("Error signing in $error");
 | 
				
			||||||
      setState(() {
 | 
					      setState(() {
 | 
				
			||||||
        failedMessage = error.toString();
 | 
					        failedMessage = error.toString();
 | 
				
			||||||
 | 
					        loggingIn = false;
 | 
				
			||||||
      });
 | 
					      });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      Future.delayed(const Duration(seconds: 10), () {
 | 
					      Future.delayed(const Duration(seconds: 10), () {
 | 
				
			||||||
| 
						 | 
					@ -99,14 +100,13 @@ class _LoginPageState extends State<LoginPage> {
 | 
				
			||||||
              ),
 | 
					              ),
 | 
				
			||||||
            ),
 | 
					            ),
 | 
				
			||||||
          ),
 | 
					          ),
 | 
				
			||||||
        floatingActionButton: loggingIn
 | 
					          floatingActionButton: FloatingActionButton(
 | 
				
			||||||
            ? const CircularProgressIndicator()
 | 
					            onPressed: loggingIn ? null : connectMatrix,
 | 
				
			||||||
            : FloatingActionButton(
 | 
					 | 
				
			||||||
                onPressed: connectMatrix,
 | 
					 | 
				
			||||||
            tooltip: 'Log in',
 | 
					            tooltip: 'Log in',
 | 
				
			||||||
                child: const Icon(Icons.login),
 | 
					            child: loggingIn
 | 
				
			||||||
              ),
 | 
					                ? const CircularProgressIndicator()
 | 
				
			||||||
      ),
 | 
					                : const Icon(Icons.login),
 | 
				
			||||||
 | 
					          )),
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user