Skip to content

Commit c416d98

Browse files
committed
style: format
1 parent ab15c37 commit c416d98

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

lib/account/bloc/account_bloc.dart

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)