From d3a799de7176956db9c7f3029812ca42032c64fb Mon Sep 17 00:00:00 2001 From: haroon amjad Date: Tue, 29 Sep 2026 15:26:14 +0300 Subject: [PATCH] Auth update --- lib/features/authentication/authentication_view_model.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/features/authentication/authentication_view_model.dart b/lib/features/authentication/authentication_view_model.dart index d448c88b..ae984002 100644 --- a/lib/features/authentication/authentication_view_model.dart +++ b/lib/features/authentication/authentication_view_model.dart @@ -1827,11 +1827,13 @@ class AuthenticationViewModel extends ChangeNotifier { _appState.setSelectDeviceByImeiRespModelElement(null); _appState.setNHICUserData = CheckUserStatusResponseNHIC(); _appState.setUserRegistrationPayload = RegistrationDataModelPayload(); + // Clear privilege lists // _appState.setPrivilegeModelList([]); // _appState.setVidaPlusProjectList([]); // _appState.setHMCProjectList([]); // _appState.setProjectsDetailList([]); + _appState.clearUserSwitchPayloads(); await clearDefaultInputValues(); _navigationService.pushAndReplace(AppRoutes.landingScreen);