cleared console problems

This commit is contained in:
amirrezaghabeli
2025-09-16 08:36:03 +03:30
parent b6a3598cbf
commit c421f85c95
67 changed files with 236 additions and 196 deletions
@@ -31,7 +31,7 @@ class _LoginDesktopPageState extends State<LoginDesktopPage> {
void _viewModelListener() {
if (viewModel.loggedInUser != null) {
Router.neglect(context, () => HomeRouteData().go(context));
Router.neglect(context, () => const HomeRouteData().go(context));
} else if (viewModel.errorMessage != null) {
AppToast.error(context, viewModel.errorMessage!);
}
@@ -92,7 +92,7 @@ class _LoginDesktopPageState extends State<LoginDesktopPage> {
),
SizedBox(height: 32.0.h()),
if (viewModel.isLoading)
BaseButton(
const BaseButton(
isEnabled: false,
onPressed: null,
isLoading: true,