File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -89,11 +89,8 @@ class AccountBloc extends Bloc<AccountEvent, AccountState> {
8989 // After delay, re-attempt to read the preferences.
9090 // This is crucial because migration might have completed during the delay.
9191 try {
92- final migratedPreferences =
93- await _userContentPreferencesRepository.read (
94- id: event.userId,
95- userId: event.userId,
96- );
92+ final migratedPreferences = await _userContentPreferencesRepository
93+ .read (id: event.userId, userId: event.userId);
9794 emit (
9895 state.copyWith (
9996 status: AccountStatus .success,
@@ -134,11 +131,8 @@ class AccountBloc extends Bloc<AccountEvent, AccountState> {
134131 '[AccountBloc] Conflict during creation of UserContentPreferences. '
135132 'Attempting to re-read.' ,
136133 );
137- final existingPreferences =
138- await _userContentPreferencesRepository.read (
139- id: event.userId,
140- userId: event.userId,
141- );
134+ final existingPreferences = await _userContentPreferencesRepository
135+ .read (id: event.userId, userId: event.userId);
142136 emit (
143137 state.copyWith (
144138 status: AccountStatus .success,
You can’t perform that action at this time.
0 commit comments