Skip to content

Commit 617af8b

Browse files
committed
fix(auth_service): add savedFilters to default user preferences
- Add savedFilters to the list of followedSources, followedTopics, and savedHeadlines in the defaultUserPreferences object - This ensures that new user preferences will have an empty list for savedFilters by default
1 parent 809bd92 commit 617af8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/services/auth_service.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,7 @@ class AuthService {
564564
followedSources: const [],
565565
followedTopics: const [],
566566
savedHeadlines: const [],
567+
savedFilters: const [],
567568
);
568569
await _userContentPreferencesRepository.create(
569570
item: defaultUserPreferences,

0 commit comments

Comments
 (0)