temporary update
This commit is contained in:
@ -182,7 +182,7 @@ class _LoginPageState extends State<LoginPage> {
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius:
|
||||
BorderRadius.circular(40)),
|
||||
child: const CircularProgressIndicator(),
|
||||
child: const CircularProgressIndicator(), // Login page
|
||||
)
|
||||
: Column(
|
||||
children: [
|
||||
@ -199,24 +199,19 @@ class _LoginPageState extends State<LoginPage> {
|
||||
.tr,
|
||||
backgroundColor: Colors.red,
|
||||
colorText: Colors.white,
|
||||
icon: const Icon(
|
||||
Icons
|
||||
.assistant_photo_outlined,
|
||||
size: 40.0,
|
||||
color: Colors.blue),
|
||||
snackPosition:
|
||||
SnackPosition.TOP,
|
||||
duration: const Duration(
|
||||
seconds: 3),
|
||||
icon: const Icon(Icons.assistant_photo_outlined, size: 40.0, color: Colors.blue),
|
||||
snackPosition: SnackPosition.TOP,
|
||||
duration: const Duration(seconds: 3),
|
||||
);
|
||||
return;
|
||||
}
|
||||
indexController.isLoading.value =
|
||||
true;
|
||||
indexController.login(
|
||||
emailController.text,
|
||||
passwordController.text
|
||||
);
|
||||
try {
|
||||
//indexController.isLoading.value = true;
|
||||
indexController.login(emailController.text, passwordController.text);
|
||||
} catch (e) {
|
||||
print('Error during login: $e');
|
||||
// エラーハンドリングは IndexController 内で行われるため、ここでは何もしない
|
||||
}
|
||||
},
|
||||
color: Colors.indigoAccent[400],
|
||||
shape: RoundedRectangleBorder(
|
||||
|
||||
Reference in New Issue
Block a user