refactor/update-packages-with-new-component-version #215
| @ -71,7 +71,8 @@ class App extends StatelessWidget { | |||||||
|         if (authState.status != previous?.status) { |         if (authState.status != previous?.status) { | ||||||
|           previous = authState; |           previous = authState; | ||||||
|           // Checking if current path is onboarding or not |           // Checking if current path is onboarding or not | ||||||
|           final isOnboarding = AppRouter.publicRoutes.contains(state.subloc); |           final isOnboarding = | ||||||
|  |               AppRouter.publicRoutes.contains(state.matchedLocation); | ||||||
|           if (authState.status == AuthenticationStatus.unauthenticated) { |           if (authState.status == AuthenticationStatus.unauthenticated) { | ||||||
|             debugPrint('Not logged'); |             debugPrint('Not logged'); | ||||||
|             if (!isOnboarding) { |             if (!isOnboarding) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user