diff --git a/uni/lib/main.dart b/uni/lib/main.dart index 854cf9755..76e9e780a 100644 --- a/uni/lib/main.dart +++ b/uni/lib/main.dart @@ -132,6 +132,12 @@ Future main() async { plausible: plausible, child: MultiProvider( providers: [ + ChangeNotifierProvider( + create: (context) => stateProviders.sessionProvider, + ), + ChangeNotifierProvider( + create: (context) => stateProviders.profileProvider, + ), ChangeNotifierProvider( create: (context) => stateProviders.lectureProvider, ), @@ -144,15 +150,9 @@ Future main() async { ChangeNotifierProvider( create: (context) => stateProviders.restaurantProvider, ), - ChangeNotifierProvider( - create: (context) => stateProviders.profileProvider, - ), ChangeNotifierProvider( create: (context) => stateProviders.courseUnitsInfoProvider, ), - ChangeNotifierProvider( - create: (context) => stateProviders.sessionProvider, - ), ChangeNotifierProvider( create: (context) => stateProviders.calendarProvider, ),