Merge pull request 'fixed mobile shell call home view model' (#85) from mobile_shell_fix into main

Reviewed-on: https://repo.ravanertebat.com/TM/tm_app/pulls/85
This commit is contained in:
a.ghabeli
2025-09-01 18:34:36 +03:30
@@ -20,7 +20,9 @@ class AppShellScreen extends StatelessWidget {
index, index,
initialLocation: index == navigationShell.currentIndex, initialLocation: index == navigationShell.currentIndex,
); );
context.read<HomeViewModel>().init(); if (index == 0) {
context.read<HomeViewModel>().init();
}
} }
@override @override