Compare commits
No commits in common. "5fbc8bee42ddd9072442aa0af86d450b445d0793" and "e4785525876d9e70d5648a3deacd9f374b095afd" have entirely different histories.
5fbc8bee42
...
e478552587
25
.vscode/launch.json
vendored
25
.vscode/launch.json
vendored
|
@ -1,25 +0,0 @@
|
|||
{
|
||||
"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,7 +32,6 @@ class _LoginPageState extends State<LoginPage> {
|
|||
print("Error signing in $error");
|
||||
setState(() {
|
||||
failedMessage = error.toString();
|
||||
loggingIn = false;
|
||||
});
|
||||
|
||||
Future.delayed(const Duration(seconds: 10), () {
|
||||
|
@ -100,13 +99,14 @@ class _LoginPageState extends State<LoginPage> {
|
|||
),
|
||||
),
|
||||
),
|
||||
floatingActionButton: FloatingActionButton(
|
||||
onPressed: loggingIn ? null : connectMatrix,
|
||||
tooltip: 'Log in',
|
||||
child: loggingIn
|
||||
floatingActionButton: loggingIn
|
||||
? const CircularProgressIndicator()
|
||||
: const Icon(Icons.login),
|
||||
)),
|
||||
: FloatingActionButton(
|
||||
onPressed: connectMatrix,
|
||||
tooltip: 'Log in',
|
||||
child: const Icon(Icons.login),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user