fixed guardian login edge cases and misleading placeholders on failed loads
This commit is contained in:
+3
-3
@@ -573,14 +573,14 @@ Future<void> _wipeUserState({
|
||||
// The timetable bloc is not reset here: PrimaryTimetableScope replaces it
|
||||
// on the status change, and HydratedBloc.storage.clear() below drops the
|
||||
// cached plans of every subject.
|
||||
childSelectionCubit.reset();
|
||||
capabilitiesCubit.reset();
|
||||
nextcloudCapabilitiesCubit.reset();
|
||||
await Future.wait([
|
||||
childSelectionCubit.reset(),
|
||||
chatListBloc.reset(),
|
||||
parentLettersBloc.reset(),
|
||||
chatBloc.reset(),
|
||||
breakerBloc.reset(),
|
||||
capabilitiesCubit.reset(),
|
||||
nextcloudCapabilitiesCubit.reset(),
|
||||
]);
|
||||
final prefs = await SharedPreferences.getInstance();
|
||||
await prefs.clear();
|
||||
|
||||
Reference in New Issue
Block a user