This commit is contained in:
2025-10-28 23:46:07 +07:00
parent 73b77c27de
commit f32e1c16fb
10 changed files with 333 additions and 142 deletions

View File

@@ -12,7 +12,10 @@ class UsersNotifier extends StateNotifier<UsersState> {
UsersNotifier({
required this.getUsersUseCase,
required this.syncUsersUseCase,
}) : super(const UsersState());
}) : super(const UsersState()) {
// Load local users on initialization
getUsers();
}
/// Get users from local storage (or API if not cached)
Future<void> getUsers() async {