temporary update

This commit is contained in:
2024-09-08 18:16:51 +09:00
parent 2c0bb06e74
commit e37c4ceebd
32 changed files with 1235 additions and 1189 deletions

View File

@ -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(