Merge pull request 'refactor_for_demo' (#27) from refactor_for_demo into main

Reviewed-on: https://repo.ravanertebat.com/TM/tm_app/pulls/27
This commit is contained in:
a.ghabeli
2025-08-10 16:35:02 +03:30
20 changed files with 307 additions and 151 deletions
+6 -1
View File
@@ -49,7 +49,12 @@ class LoginMobilePage extends StatelessWidget {
SizedBox(height: 32.0.h()),
if (viewModel.isLoading)
const CircularProgressIndicator()
BaseButton(
isEnabled: false,
onPressed: null,
isLoading: true,
textColor: AppColors.white,
)
else
BaseButton(
isEnabled: viewModel.isLoginEnabled,